I'm trying to install Scipy in a virtual env through pip and I'm getting an error that says numpy.distutils.system_info.BlasNotFoundError I've never run into this before and I installed numpy from pip, so it should've installed everything correctly. I looked on the Blas website and I could only find a version for FORTRAN and I don't know if that's what I need. Any help would be appreciated!

  • 1
    Yeah, BLAS is written in FORTRAN. You need the shared library. Commented Aug 26, 2012 at 19:10
  • I downloaded the tar with the FORTRAn files. How do I install it as a shared library? Or am I looking for something else? Commented Aug 26, 2012 at 19:20
  • What distro are you using? It's probably in the repositories tbh. Commented Aug 26, 2012 at 19:23

1 Answer 1


If you're on Raspbian, install the package libblas-dev though apt. It should work fine after that.

  • I additionally had to install gfortran, libopenblas-base and libatlas-base-dev to make it work.
    – leosh
    Commented Jan 12, 2020 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.