我已经使用easy_install pymc
命令安装了pymc。当我尝试使用import pymc
导入包时。
我得到以下错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/pymc-2.3.2-py2.7-linux-i686.egg/pymc/__init__.py", line 29, in <module>
from .CommonDeterministics import *
File "/usr/local/lib/python2.7/dist-packages/pymc-2.3.2-py2.7-linux-i686.egg/pymc/CommonDeterministics.py", line 21, in <module>
from .utils import safe_len, stukel_logit, stukel_invlogit, logit, invlogit, value, find_element
File "/usr/local/lib/python2.7/dist-packages/pymc-2.3.2-py2.7-linux-i686.egg/pymc/utils.py", line 14, in <module>
from . import flib
ImportError: libatlas.so.3gf: cannot open shared object file: No such file or directory
我正在使用
Ubuntu 12.04
和Python 2.7
。这些错误的原因是什么?
最佳答案
尝试安装丢失的库:apt-get install libatlas3-base-dev
关于python - 尝试导入pymc时出现错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/24241333/