pymc2
pymc2 copied to clipboard
Successfully installed but can't import
I installed pymc using pip install pymc --user
and it seemed to be installed normally.
Successfully installed pymc-2.3.6
However, when I import pymc in python shell, I get the follow error message. Not sure how to deal with this.
Python 3.7.3 (default, Mar 27 2019, 22:11:17) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.
import pymc Traceback (most recent call last): File "
", line 1, in File "/home/7s2/.local/lib/python3.7/site-packages/pymc/init.py", line 19, in from .threadpool import * File "/home/7s2/.local/lib/python3.7/site-packages/pymc/threadpool.py", line 346 def await(self): ^ SyntaxError: invalid syntax
I am having the same issue. It worked a couple days ago and now when I running the same code I get """--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
ImportError Traceback (most recent call last)
~/anaconda3/lib/python3.8/site-packages/pymc/init.py in
~/anaconda3/lib/python3.8/site-packages/pymc/InstantiationDecorators.py in
~/anaconda3/lib/python3.8/site-packages/pymc/utils.py in
ImportError: numpy.core.multiarray failed to import
""" Updated Numpy and used import numpy.core.multiarray ....