You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to install pandas on my raspberry pi 3B. This was installed yesterday with debian-buster and fully upgraded. Python version is 3.7.3. When I tried to install pandas (pip3 install pandas) I got the error:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
I found some suggestions which had to do with versioning. Pip3 refused to uninstall. I uninstalled it manually by deleting all references to numpy in site-packages. When I reinstalled with pip3 version 1.18.1 was installed, but the problem with pandas persisted.
I tried "sudo apt install pandas", that installed, but when I tried to import I got the multiarray problem during the import of pandas. I uninstalled numpy with pip3 and installed with apt. Now I cannot import even numpy, the error message being:
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
>>> import numpy
Traceback (most recent call last):
File "/home/arnold/.local/lib/python3.7/site-packages/numpy/core/__init__.py", line 24, in <module>
from . import multiarray
File "/home/arnold/.local/lib/python3.7/site-packages/numpy/core/multiarray.py", line 14, in <module>
from . import overrides
File "/home/arnold/.local/lib/python3.7/site-packages/numpy/core/overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/arnold/.local/lib/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/home/arnold/.local/lib/python3.7/site-packages/numpy/core/__init__.py", line 54, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
1. Check that you expected to use Python3.7 from "/usr/bin/python3",
and that you have no directories in your PATH or PYTHONPATH that can
interfere with the Python and numpy version "1.18.1" you're trying to use.
2. If (1) looks fine, you can open a new issue at
https://github.com/numpy/numpy/issues. Please include details on:
- how you installed Python
- how you installed numpy
- your operating system
- whether or not you have multiple versions of Python installed
- if you built from source, your compiler versions and ideally a build log
- If you're working with a numpy git repository, try `git clean -xdf`
(removes all files not under version control) and rebuild numpy.
Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
Numpy/Python version information:
numpy: 1.18.1
sys: 3.7.3
The text was updated successfully, but these errors were encountered:
Thanks! that worked. I Indeed made some kind of a mess of the (re/de/un)installation. But I noticed that when using apt version 16.2 is installed and pip3 version 18.1. That is, on the raspberry pi.
Tried to install pandas on my raspberry pi 3B. This was installed yesterday with debian-buster and fully upgraded. Python version is 3.7.3. When I tried to install pandas (pip3 install pandas) I got the error:
I found some suggestions which had to do with versioning. Pip3 refused to uninstall. I uninstalled it manually by deleting all references to numpy in site-packages. When I reinstalled with pip3 version 1.18.1 was installed, but the problem with pandas persisted.
I tried "sudo apt install pandas", that installed, but when I tried to import I got the multiarray problem during the import of pandas. I uninstalled numpy with pip3 and installed with apt. Now I cannot import even numpy, the error message being:
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
plus a suggestion to file this issue.
Error message:
Numpy/Python version information:
numpy: 1.18.1
sys: 3.7.3
The text was updated successfully, but these errors were encountered: