@abhiphile ➜ /workspaces/sympy (master) $ pip install py3nj
Collecting py3nj
Downloading py3nj-0.2.1.tar.gz (49 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 494.8 kB/s eta 0:00:00
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
╰─> [27 lines of output]
+ meson setup /tmp/pip-install-y_khqds1/py3nj_bd967ab2322c40bea103aea88e1b1a66 /tmp/pip-install-y_khqds1/py3nj_bd967ab2322c40bea103aea88e1b1a66/.mesonpy-xrgjlan1 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-y_khqds1/py3nj_bd967ab2322c40bea103aea88e1b1a66/.mesonpy-xrgjlan1/meson-python-native-file.ini
The Meson build system
Version: 1.3.2
Source dir: /tmp/pip-install-y_khqds1/py3nj_bd967ab2322c40bea103aea88e1b1a66
Build dir: /tmp/pip-install-y_khqds1/py3nj_bd967ab2322c40bea103aea88e1b1a66/.mesonpy-xrgjlan1
Build type: native build
Project name: py3nj
Project version: 0.2.1
../meson.build:1: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-y_khqds1/py3nj_bd967ab2322c40bea103aea88e1b1a66/.mesonpy-xrgjlan1/meson-logs/meson-log.txt
[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.