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

Update README to state that RUST and Cargo are required #17

Open
Cr0n1c opened this issue Oct 28, 2024 · 1 comment
Open

Update README to state that RUST and Cargo are required #17

Cr0n1c opened this issue Oct 28, 2024 · 1 comment

Comments

@Cr0n1c
Copy link

Cr0n1c commented Oct 28, 2024

During the pipx install I ran into

PIP STDERR
----------
  Running command git clone --filter=blob:none --quiet https://github.com/protectai/vulnhuntr.git /private/var/folders/yh/38q3l89546z2_t4szbspkvc00000gp/T/pip-req-build-bhc5k0c5
  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.

This fixed the issue for me: https://www.petergirnus.com/blog/rust-macos-how-to-install

@DanMcInerney
Copy link
Contributor

I haven't had this problem, was it due to the fact you were running it with Python 3.13?

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

2 participants