python - Fortran error when trying to install scipy -


i'm trying install scipy pip, using:

sudo pip install scipy

i throw error, though:

dyld: library not loaded: /usr/local/lib/libisl.13.dylib    referenced from: /usr/local/cellar/gcc/5.1.0/libexec/gcc/x86_64-apple-darwin14.3.0/5.1.0/f951    reason: image not found  gfortran: internal compiler error: trace/bpt trap: 5 (program f951)  error: command "/usr/local/bin/gfortran -wall -g -ffixed-form -fno-second-underscore -fpic -o3 -funroll-loops -i/usr/local/lib/python2.7/site-packages/numpy/core/include -c -c /private/tmp/pip-build-waj_gp/scipy/scipy/fftpack/src/dfftpack/dcosqb.f -o build/temp.macosx-10.5-x86_64-2.7/private/tmp/pip-build-waj_gp/scipy/scipy/fftpack/src/dfftpack/dcosqb.o" failed exit status 4 

when run:

brew install gcc 

i get:

warning: gcc-5.1.0 installed 

what gives?

uninstalling (with --force) , reinstalling dependencies fixed issue. (gmp, mpfr, libmpc, isl, cloog)


Comments