. . .
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
+ meson setup /private/var/folders/g8/r8sp7wpx5qd2lzkwr59r25kc0000gn/T/pip-install-0lcp4nz8/scipy_1496da7430cc48b5986eb3741f7980f1 /private/var/folders/g8/r8sp7wpx5qd2lzkwr59r25kc0000gn/T/pip-install-0lcp4nz8/scipy_1496da7430cc48b5986eb3741f7980f1/.mesonpy-4p0e7cbt -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/private/var/folders/g8/r8sp7wpx5qd2lzkwr59r25kc0000gn/T/pip-install-0lcp4nz8/scipy_1496da7430cc48b5986eb3741f7980f1/.mesonpy-4p0e7cbt/meson-python-native-file.ini
The Meson build system
Version: 1.7.2
Source dir: /private/var/folders/g8/r8sp7wpx5qd2lzkwr59r25kc0000gn/T/pip-install-0lcp4nz8/scipy_1496da7430cc48b5986eb3741f7980f1
Build dir: /private/var/folders/g8/r8sp7wpx5qd2lzkwr59r25kc0000gn/T/pip-install-0lcp4nz8/scipy_1496da7430cc48b5986eb3741f7980f1/.mesonpy-4p0e7cbt
Build type: native build
Project name: scipy
Project version: 1.15.2
C compiler for the host machine: cc (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)")
C linker for the host machine: cc ld64 650.9
C++ compiler for the host machine: c++ (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)")
C++ linker for the host machine: c++ ld64 650.9
Cython compiler for the host machine: cython (cython 3.0.12)
Host machine cpu family: aarch64
Host machine cpu: aarch64
Program python found: YES (/opt/homebrew/Cellar/pyt...@3.10/3.10.17/bin/python3.10)
Found pkg-config: YES (/opt/homebrew/bin/pkg-config) 2.4.3
Run-time dependency python found: YES 3.10
Program cython found: YES (/private/var/folders/g8/r8sp7wpx5qd2lzkwr59r25kc0000gn/T/pip-build-env-98qrw_2e/overlay/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
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
Library m found: YES
../meson.build:80:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang-new'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]
The following exception(s) were encountered:
Running `gfortran --help` gave "[Errno 2] No such file or directory: 'gfortran'"
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-new --help` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang-new --version` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang-new -V` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang --help` gave "[Errno 2] No such file or directory: 'flang'"
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 --help` gave "[Errno 2] No such file or directory: 'nvfortran'"
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 --help` gave "[Errno 2] No such file or directory: 'pgfortran'"
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 --help` gave "[Errno 2] No such file or directory: 'ifort'"
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 --help` gave "[Errno 2] No such file or directory: 'ifx'"
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 --help` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"
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.
Does anybody have a clue what's causing this?
Do I have to install gfortran and all the rest that can't be found?