The easiest way to get Fortran is with Homebrew.
Some of Apple’s pre-installed Python versions have such a numpy build pre-installed. Your problem is that you need to install a Fortran compiler to build scipy.Īlso, if you already have a numpy that’s built with Fortran support disabled, you may have to replace it. I thought that I had Fortran installed for NumPy…guess not? How would I download it? How to solve this problem? Solution no. Ran python setup.py build and it seemed to be working until it came across this error:ĭon't know how to compile Fortran code on platform 'posix'Įrror: library dfftpack has Fortran sources but no Fortran compiler found
Now I would like to build/install scipy as well. I successfully built/installed NumPy on my mac os x for python 2.7.3.