I'm trying to install the python module pyCompare (https://pypi.org/project/pyCompare/), however, the installation fails and spits out a whole page of errors as follows:
Code: Select all
[pi@raspberrypi~/>pip3 install pyCompare
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyCompare
Using cached pyCompare-1.4.1-py3-none-any.whl (11 kB)
Collecting matplotlib>=3.0.2
Downloading https://www.piwheels.org/simple/matplotlib/matplotlib-3.3.0-cp37-cp37m-linux_armv6l.whl (11.6 MB)
|████████████████████████████████| 11.6 MB 15 kB/s
Collecting scipy>=1.0.1
Using cached scipy-1.5.2.tar.gz (25.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpcydjgwa9
cwd: /tmp/pip-install-ghcjww7i/scipy
Complete output (44 lines):
setup.py:462: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-zr25n9kx'), proceeding with generating Cython sources and expanding templates
' '.join(sys.argv[1:])))
Traceback (most recent call last):
File "/tmp/pip-build-env-x3zp2k_t/overlay/lib/python3.7/site-packages/numpy/core/__init__.py", line 16, in <module>
from . import multiarray
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 "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 249, in run_setup
self).run_setup(setup_script=setup_script)
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 583, in <module>
setup_package()
File "setup.py", line 558, in setup_package
from numpy.distutils.core import setup
File "/tmp/pip-build-env-x3zp2k_t/overlay/lib/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import add_newdocs
File "/tmp/pip-build-env-x3zp2k_t/overlay/lib/python3.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/tmp/pip-build-env-x3zp2k_t/overlay/lib/python3.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/tmp/pip-build-env-x3zp2k_t/overlay/lib/python3.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/tmp/pip-build-env-x3zp2k_t/overlay/lib/python3.7/site-packages/numpy/core/__init__.py", line 26, in <module>
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpcydjgwa9 Check the logs for full command output.
MS