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

[BUG] Problem about Rust during installation. #433

Closed
hcq11419 opened this issue May 19, 2024 · 1 comment
Closed

[BUG] Problem about Rust during installation. #433

hcq11419 opened this issue May 19, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists installation Installation issue

Comments

@hcq11419
Copy link

Please explain the issue you're experiencing (with as much detail as possible):

Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]

  Cargo, the Rust package manager, is not installed or is not on PATH.
  This package requires Rust and Cargo to compile extensions. Install it through
  the system's package manager or via https://rustup.rs/

  Checking for Rust toolchain....
  [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.

@hcq11419 hcq11419 added the question Further information is requested label May 19, 2024
@jeertmans
Copy link
Owner

Hello @hcq11419, thanks for posting your question!

An important part of the error message is missing and I cannot help without knowing more understand.

However, I have a strong feeling that your error is related to the package rtoml, see #398. I will soon publish a temporary fix (#432), but you should be able to fix it by yourself by following the hints in #398.

Can you confirm if that is the same issue? If not, can you please give more details, with the full error traceback?

@jeertmans jeertmans changed the title I encountered a problem during installation. [BUG] Problem about Rust during installation. May 19, 2024
@jeertmans jeertmans added bug Something isn't working installation Installation issue duplicate This issue or pull request already exists and removed question Further information is requested labels May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists installation Installation issue
Projects
None yet
Development

No branches or pull requests

2 participants