Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata-generation-failed when installing Pyrfu 2.4.12 to a conda environment #15

Open
harryclewis opened this issue Mar 14, 2024 · 0 comments

Comments

@harryclewis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant