Hello,
I am trying to install crew ai with pip, but I get the followerror: 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.ing error:
How can I resolve this?
Hey Tony. I’m facing the same error.
The only thing that has an error in my pyproject file is this:
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]
I have even tried pip install --upgrade pip setuptools wheel and then
pip install crewai[all], but still getting the metadata-generation-failed error. kindly help