Raspberry Pi - ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
- Error message : ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
- Solutions :
$ sudo apt install libatlas-base-dev
gangserver@raspberrypi:~/devel/pydev $ python BreamAndSmelt.py
Traceback (most recent call last):
File "/home/gangserver/devel/pydev/BreamAndSmelt.py", line 35, in <module>
from sklearn.neighbors import KNeighborsClassifier
File "/usr/local/lib/python3.9/dist-packages/sklearn/__init__.py", line 82, in <module>
from .base import clone
File "/usr/local/lib/python3.9/dist-packages/sklearn/base.py", line 17, in <module>
from .utils import _IS_32BIT
File "/usr/local/lib/python3.9/dist-packages/sklearn/utils/__init__.py", line 25, in <module>
from .fixes import parse_version, threadpool_info
File "/usr/local/lib/python3.9/dist-packages/sklearn/utils/fixes.py", line 19, in <module>
import scipy.stats
File "/usr/local/lib/python3.9/dist-packages/scipy/stats/__init__.py", line 453, in <module>
from ._stats_py import *
File "/usr/local/lib/python3.9/dist-packages/scipy/stats/_stats_py.py", line 38, in <module>
from scipy.spatial.distance import cdist
File "/usr/local/lib/python3.9/dist-packages/scipy/spatial/__init__.py", line 104, in <module>
from ._qhull import *
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
gangserver@raspberrypi:~/devel/pydev $ sudo apt install libatlas-base-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libatlas3-base
Suggested packages:
libatlas-doc liblapack-doc
The following NEW packages will be installed:
libatlas-base-dev libatlas3-base
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,055 kB of archives.
After this operation, 26.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(... Log omitted ...)
gangserver@raspberrypi:~/devel/pydev $ python BreamAndSmelt.py
1.0
[1]
참조 : https://github.com/nschloe/stressberry/issues/27
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory · Issue #27 · nschloe/stressberry
Hi there! I tried installing and running as you suggested, on RPi 3B+ on the latest distro. I got the following error: Traceback (most recent call last): File "/home/pi/.local/lib/python3.5/site-pa...
github.com