pymc-devs / pymc2

THIS IS THE **OLD** PYMC PROJECT (VERSION 2). PLEASE USE PYMC INSTEAD:
http://pymc-devs.github.com/pymc/
Other
879 stars 229 forks source link

Problems importing flib #145

Closed bocklund closed 7 years ago

bocklund commented 7 years ago

I've installed pymc using the latest master building with python setup.py config_fc --fcompiler gfortran build. I got a host of warnings when compiling, but everything appeared to compile without error.

Trying to import pymc gives me the following error:

>>> import pymc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home1/04492/bocklund/.virtualenvs/pymc/lib/python2.7/site-packages/pymc/__init__.py", line 29, in <module>
    from .InstantiationDecorators import *
  File "/home1/04492/bocklund/.virtualenvs/pymc/lib/python2.7/site-packages/pymc/InstantiationDecorators.py", line 28, in <module>
    from .utils import get_signature
  File "/home1/04492/bocklund/.virtualenvs/pymc/lib/python2.7/site-packages/pymc/utils.py", line 14, in <module>
    from . import flib
ImportError: /home1/04492/bocklund/.virtualenvs/pymc/lib/python2.7/site-packages/pymc/flib.so: undefined symbol: i0_

I get the same ImportError when installing from pip, though I have not tried anaconda.

bocklund commented 7 years ago

Just tried to build and install numpy without a binary as suggested in #119 and that failed. Closing this for now.