pi@raspberrypi:~ $ sudo pip install reverse_geocode Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting reverse_geocode Using cached https://www.piwheels.org/simple/reverse-geocode/reverse_geocode-1.4.1-py3-none-any.whl (1.6 MB) Collecting scipy Using cached scipy-1.10.0.tar.gz (42.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [74 lines of output] The Meson build system Version: 1.0.0 Source dir: /tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf Build dir: /tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf/.mesonpy-sjuaprid/build Build type: native build Project name: SciPy Project version: 1.10.0 C compiler for the host machine: cc (gcc 10.2.1 "cc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110") C linker for the host machine: cc ld.bfd 2.35.2 C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110") C++ linker for the host machine: c++ ld.bfd 2.35.2 Host machine cpu family: arm Host machine cpu: armv7l Compiler for C supports arguments -Wno-unused-but-set-variable: YES Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Wno-conversion: YES Compiler for C supports arguments -Wno-misleading-indentation: YES Compiler for C supports arguments -Wno-incompatible-pointer-types: YES Library m found: YES ../../meson.build:63:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']] The following exception(s) were encountered: Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'" Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'" Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'" Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'" Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'" Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'" Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'" Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'" Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'" Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'" Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'" Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'" Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'" Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'" A full log can be found at /tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf/.mesonpy-sjuaprid/build/meson-logs/meson-log.txt + meson setup --prefix=/usr /tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf /tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf/.mesonpy-sjuaprid/build --native-file=/tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2 Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'mesonpy' has no attribute 'prepare_metadata_for_build_wheel' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in main() File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 148, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 1060, in build_wheel with _project(config_settings) as project: File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__ return next(self.gen) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 975, in _project with Project.with_temp_working_dir( File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__ return next(self.gen) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 750, in with_temp_working_dir yield cls(source_dir, tmpdir, build_dir, meson_args) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 632, in __init__ self._configure(reconfigure=bool(build_dir) and not native_file_mismatch) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 680, in _configure self._meson('setup', *setup_args) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 657, in _meson return self._proc('meson', *args) File "/tmp/pip-build-env-oqceqogd/overlay/lib/python3.9/site-packages/mesonpy/__init__.py", line 652, in _proc subprocess.check_call(list(args), env=self._env) File "/usr/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['meson', 'setup', '--prefix=/usr', '/tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf', '/tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf/.mesonpy-sjuaprid/build', '--native-file=/tmp/pip-install-8zfsylga/scipy_aaadb831a4d44c9e9a80199a95478edf/.mesonpy-native-file.ini', '-Ddebug=false', '-Doptimization=2']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.