无法导入PYMC

时间:2015-10-22 12:31:08

标签: python enthought canopy pymc

当我尝试导入与pipenpgk或树冠GUI package manager一起安装的PYMC时,我尝试了所有这些并且没有成功。

Enthought Canopy Python 2.7.9 | 64-bit | (default, Jun 30 2015, 22:40:22) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-55)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/renanpc/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pymc/__init__.py", line 30, in <module>
    from .CommonDeterministics import *
  File "/home/renanpc/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pymc/CommonDeterministics.py", line 21, in <module>
    from .utils import safe_len, stukel_logit, stukel_invlogit, logit, invlogit, value, find_element
  File "/home/renanpc/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pymc/utils.py", line 14, in <module>
    from . import flib
ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory

我尝试安装GFORTRAN:

~$ sudo apt-get install gfortran-4.6

但我仍然得到同样的错误。

(还有其他问题非常类似,但通常答案与Anaconda和我使用Canopy有关)

知道发生了什么事吗?我可以导入其他包。

0 个答案:

没有答案