PETAL icon indicating copy to clipboard operation
PETAL copied to clipboard

libf77blas.so.3: cannot open shared object file

Open Pex2892 opened this issue 3 years ago • 0 comments

When updating libraries, the following error may occur:

File "/home/pi/.local/lib/python3.7/site-packages/numpy/__init__.py", line 140, in <module>
from . import core
File "/home/pi/.local/lib/python3.7/site-packages/numpy/core/__init__.py", line 48, in <module>
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.7 from "/usr/bin/python3"
* The NumPy version is: "1.19.4"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory

To solve the problem on linux, you need to install the following package: sudo apt-get install libatlas-base-dev

This fix will be added to the README in the next release.

Pex2892 avatar Dec 27 '20 11:12 Pex2892