jeudi 13 août 2015

installing scipy can't find fortran mac

I'm having huge troubles installing scipy.

When i run: pip install scipy

I get:

Requirement already satisfied (use --upgrade to upgrade): scipy in 
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python

However when i do import scipy in python I get the no module called scipy error.

When i try via easy_install scipy, it starts downloading and then gives me:

error: Setup script exited with error: library dfftpack has Fortran sources but no Fortran compiler found

When i try to install gfortran via brew I get: brew gfortran

Error: No available formula for gfortran 
GNU Fortran is now provided as part of GCC, and can be installed with:
brew install gcc

But when i try to do that I get:

(py)Shopkicks-MacBook-Air-12:shopkick markthornburg$ brew install gcc
Warning: gcc-5.2.0 already installed, it's just not linked

What am I doing wrong?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire