Skip to content
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

Closed
jacksbd2 opened this issue May 15, 2018 · 4 comments
Closed

import pymc not working #177

jacksbd2 opened this issue May 15, 2018 · 4 comments

Comments

@jacksbd2
Copy link


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.

@fonnesbeck
Copy link
Member

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.

@jacksbd2
Copy link
Author

jacksbd2 commented May 15, 2018 via email

@fonnesbeck
Copy link
Member

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.

@jacksbd2
Copy link
Author

jacksbd2 commented Jun 7, 2018

I suspect issue was with fortran compiler and Anaconda. I'm working in PyMC3 now, thanks!

@jacksbd2 jacksbd2 closed this as completed Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants