Pip Failing To Build Wheels For Scipy
I've just downloaded the new python 3.8 and I'm trying to install the scipy package using the following: pip3.8 install scipy However the build fails with the following error: **F
Solution 1:
I think I got the same issue as you did. Did the error code have this message
error: library dfftpack has Fortran sources but no Fortran compiler found
?
Because to me, it sounds like a Fortran compiler error, and not a mistake of python per se. I think what happens is that the wheel requires some sort of Fortran compiler and when the installation doesn't find one it simply terminates the build. Here is the solution that I found:
Linux
sudo apt install gfortran
Windows / Mac
Download it from here: https://gcc.gnu.org/wiki/GFortran#download
This solution fixed it for me. Check out: Still can't install scipy due to missing fortran compiler after brew install gcc on Mac OS X for more details.
Post a Comment for "Pip Failing To Build Wheels For Scipy"