簡體   English   中英

嘗試安裝scipy時出現Fortran錯誤

[英]Fortran error when trying to install scipy

我正在嘗試使用Pip安裝scipy,方法是:

sudo pip install scipy

我拋出此錯誤,但是:

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 with exit status 4

當我跑步時:

brew install gcc

我得到:

Warning: gcc-5.1.0 already installed

是什么賦予了?

卸載(使用--force )和重新安裝依賴項可以解決此問題。 (gmp,mpfr,libmpc,isl,cloog)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM