error: library dfftpack has Fortran sources but no Fortran compiler found

When using pip install scipy, it prompts error: library dfftpack has Fortran sources but no Fortran compiler found The
solution is very simple!
sudo apt-get install gfortran to get it.
If you are prompted with Permission denied
during installation, remember to have sudo before the installation command.


Read More: