GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Colab install failed error: metadata-generation-failed #1244

Closed jecampagne closed 1 year ago

jecampagne commented 1 year ago

Well, it is the first time that encounter this problem on Google Colab for instance:

!pip install git+https://github.com/GalSim-developers/GalSim.git@v2.4.11
Collecting git+https://github.com/GalSim-developers/GalSim.git@v2.4.11
  Cloning https://github.com/GalSim-developers/GalSim.git (to revision v2.4.11) to /tmp/pip-req-build-2phf83oj
  Running command git clone --filter=blob:none --quiet https://github.com/GalSim-developers/GalSim.git /tmp/pip-req-build-2phf83oj
  Resolved https://github.com/GalSim-developers/GalSim.git to commit a1f0a11a24690a279abd7027b116ec3e4986643d
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Preparing metadata (pyproject.toml) ... error
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.

An idea? thanks

rmjarvis commented 1 year ago

Duplicate. https://github.com/GalSim-developers/GalSim/issues/1214