Hi Louis,
I created a new environment to install the latest pyrfu version, and I encounter an error with metadata generation during installation of the package dependencies. I do not encounter the problem for pyrfu version 2.4.11.
I am using pip to install the pyrfu package on a fresh conda environment (version 22.9.0). It seems as though this might be an error with the pycdfpp package?
I am not an expert in these things so I thought I would bring this to your attention in case any of this is within your control.
Collecting pycdfpp==0.6.0 (from pyrfu)
Using cached pycdfpp-0.6.0.tar.gz (1.2 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
╰─> [22 lines of output]
+ meson setup /private/var/folders/w1/vm9pp8qn443d01jr2j6tw41r0000gp/T/pip-install-zl9wk08i/pycdfpp_dd5575d2677f45aea33b2dd730546a9a /private/var/folders/w1/vm9pp8qn443d01jr2j6tw41r0000gp/T/pip-install-zl9wk08i/pycdfpp_dd5575d2677f45aea33b2dd730546a9a/.mesonpy-639kkxhx -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Doptimization=3 --native-file=/private/var/folders/w1/vm9pp8qn443d01jr2j6tw41r0000gp/T/pip-install-zl9wk08i/pycdfpp_dd5575d2677f45aea33b2dd730546a9a/.mesonpy-639kkxhx/meson-python-native-file.ini
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.4.0
Source dir: /private/var/folders/w1/vm9pp8qn443d01jr2j6tw41r0000gp/T/pip-install-zl9wk08i/pycdfpp_dd5575d2677f45aea33b2dd730546a9a
Build dir: /private/var/folders/w1/vm9pp8qn443d01jr2j6tw41r0000gp/T/pip-install-zl9wk08i/pycdfpp_dd5575d2677f45aea33b2dd730546a9a/.mesonpy-639kkxhx
Build type: native build
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
Project name: pycdfpp
Project version: 0.6.0
../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
The following exception(s) were encountered:
Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'"
Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"
A full log can be found at /private/var/folders/w1/vm9pp8qn443d01jr2j6tw41r0000gp/T/pip-install-zl9wk08i/pycdfpp_dd5575d2677f45aea33b2dd730546a9a/.mesonpy-639kkxhx/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.
I hope this helps,
Harry
Hi Louis,
I created a new environment to install the latest pyrfu version, and I encounter an error with metadata generation during installation of the package dependencies. I do not encounter the problem for pyrfu version 2.4.11.
I am using pip to install the pyrfu package on a fresh conda environment (version 22.9.0). It seems as though this might be an error with the pycdfpp package?
I am not an expert in these things so I thought I would bring this to your attention in case any of this is within your control.
I hope this helps,
Harry