nwhitehead / pineapple

http://nwhitehead.github.io/pineapple/
Other
351 stars 26 forks source link

ImportError libgfortran.3.dylib on scipy.stats #50

Open dcbb opened 8 years ago

dcbb commented 8 years ago

Upon from scipy import stats I get the following error:

ImportError: dlopen(/Applications/Pineapple-Pro.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/scipy/special/_ufuncs.cpython-35m-darwin.so, 2): Library not loaded: /usr/local/lib/gcc/5/libgfortran.3.dylib Referenced from: /Applications/Pineapple-Pro.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/scipy/special/_ufuncs.cpython-35m-darwin.so Reason: image not found

Running Pineapple-Pro-0.8 on OSX 10.10.5 (Yosemite). (The problem was also in version 0.7.4)

kevinr commented 7 years ago

I ran into this while Googling for the same issue. It's not ideal (would be nice to have a CI pipeline), but, as I later found from data/examples/python2.7/Packages.ipynb, adding

import pineapple
%pip install --upgrade scipy

to my notebook resolved this for me.