}

Library not loaded: libgfortran.3.dylib

Created:

Error

import scipy.interpolate Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-packages/scipy/interpolate/__init__.py", line 160, in from .interpolate import * File "/Library/Python/2.7/site-packages/scipy/interpolate/interpolate.py", line 15, in import scipy.special as spec File "/Library/Python/2.7/site-packages/scipy/special/__init__.py", line 546, in from ._ufuncs import * ImportError: dlopen(/Library/Python/2.7/site-packages/scipy/special/_ufuncs.so, 2): Library not loaded: /usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib Referenced from: /Library/Python/2.7/site-packages/scipy/special/_ufuncs.so Reason: image not found if(typeof __ez_fad_position != 'undefined'){__ez_fad_position('div-gpt-ad-tutorials_technology-medrectangle-3-0')}; Solution ========

pip install --upgrade --force-reinstall numpy pip install --upgrade --force-reinstall scipy