pineapple icon indicating copy to clipboard operation
pineapple copied to clipboard

ImportError libgfortran.3.dylib on scipy.stats

Open dcbb opened this issue 9 years ago • 1 comments

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)

dcbb avatar Nov 05 '15 11:11 dcbb

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.

kevinr avatar Jun 02 '17 06:06 kevinr