ImportError: Missing required dependencies [‘numpy’]

I got this issue on Rasberry PI and found that the root cause was missing library:

import numpy
...
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory

Then it takes few minute to google the required library source:

sudo apt-get install libatlas-base-dev

I have not checked the solution on any other Linux-es but likely the same method should be applicable. So try to import the faulty library first and see what is missing.

Leave a Comment