-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import pymc not working #177
Comments
Please provide more information:
Also, are you intending to use PyMC2? We recommend most users to work with PyMC3, which is a different repository. |
Hi Chris,
Thanks for the response.
I'm using Anaconda 1.8.5
with Jupyter 5.5.0
running Python 3.6.4 64 bit
on a Windows 10 platform.
I installed pymc via my Anaconda Navigator environment.
I'm working with some pre-existing code that imports PyMC 2
My goal is to recreate a MCMC dynamic factor switching model for classification of economic recessions v. expansions
If PyMC 3 can be substituted, that would be great, but the syntax looked a little bit different.
Any suggestions you can provide would be appreciated, thanks!
Bruce
Bruce Jackson
(651) 315-2260[cid:2c478e0e-8dce-4bda-a2cc-de42626d3725]
jack3604@stthomas.edu
…________________________________
From: Chris Fonnesbeck <notifications@github.com>
Sent: Tuesday, May 15, 2018 4:34:26 PM
To: pymc-devs/pymc
Cc: Jackson, Bruce D.; Author
Subject: Re: [pymc-devs/pymc] import pymc not working (#177)
Please provide more information:
* platform you are using
* version of PyMC you are using
* version of Python you are using
Also, are you intending to use PyMC2? We recommend most users to work with PyMC3, which is a different repository.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<pymc-devs/pymc#177 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Aicd25Ulk10RjfY_SkdruyRMZmtvULrOks5ty0nigaJpZM4UARXV>.
|
If you can, try creating a clean conda environment, activate it, and install PyMC in that environment and see if this still happens. PyMC 2 Code does not run unchanged under PyMC3, but its not hard to port (usually). If you are looking to do substantial development, it would e worth looking at PyMC3, as it is far more capable. |
I suspect issue was with fortran compiler and Anaconda. I'm working in PyMC3 now, thanks! |
ImportError Traceback (most recent call last)
in ()
----> 1 import pymc
~\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc_init_.py in ()
28 from .PyMCObjects import *
29 from .InstantiationDecorators import *
---> 30 from .CommonDeterministics import *
31 from .NumpyDeterministics import *
32 from .distributions import *
~\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc\CommonDeterministics.py in ()
19 import inspect
20 import types
---> 21 from .utils import safe_len, stukel_logit, stukel_invlogit, logit, invlogit, value, find_element
22 from copy import copy
23 import sys
~\AppData\Local\Continuum\anaconda3\lib\site-packages\pymc\utils.py in ()
12 from copy import copy
13 from .PyMCObjects import Variable
---> 14 from . import flib
15 import pdb
16 from numpy.linalg.linalg import LinAlgError
ImportError: DLL load failed: The specified procedure could not be found.
The text was updated successfully, but these errors were encountered: