Try installing the tooling for the Rust programming language, because it seems like you have a dependency that uses Rust.

For mac OS, I recommend using brew.

brew install rust

Otherwise use the steps from the Rust install page.

You can check that rust is installed properly with:

rustc --version

Once you are finished try again to pip install your requirements file.

Answer from ajrichards on Stack Overflow
🌐
GitHub
github.com › aertslab › pycisTopic › issues › 147
Cargo, the Rust package manager, is not installed or is not on PATH. · Issue #147 · aertslab/pycisTopic
June 7, 2024 - 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.
Author   massonix
Discussions

Pip package manager is unable to detect the Rust compiler (cargo) in my system's PATH
Quite a confusing issue, my sys PATH shows that it has been added correctly, however, im repeatedly getting a 'metadata-generation-failed' message where PIP cannot see the installation manager?? I've opened and closed terminals and tried other methods to get it to work. im at a roadblock and ... More on users.rust-lang.org
🌐 users.rust-lang.org
0
0
September 4, 2025
Jupyter Lab install fails without Rust?
Suddenly when I install Jupyter Lab with pip install jupyterlab I get Collecting y-py [6 lines of output] Cargo, the Rust package manager, is not installed or is n... More on discourse.jupyter.org
🌐 discourse.jupyter.org
1
0
February 20, 2023
Enhance missing Cargo error message with platform-specific instructions
Problem Current Behavior When Cargo is not installed, the error message is generic: Cargo, the Rust package manager, is not installed or is not on PATH. This package requires Rust and Cargo to comp... More on github.com
🌐 github.com
3
October 29, 2024
python - Cargo, the Rust package manager, is not installed or is not on PATH Django app deployment on vercel error - Stack Overflow
Error on vercel deployment log. Error: Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt error: subprocess-exited-with-error × More on stackoverflow.com
🌐 stackoverflow.com
March 12, 2023
🌐
GitHub
github.com › orgs › community › discussions › 149493
Python Pipeline Issue with Cargo, the Rust package manager, is not installed or is not on PATH. · community · Discussion #149493
│ 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/ ...
🌐
Rust Programming Language
users.rust-lang.org › t › pip-package-manager-is-unable-to-detect-the-rust-compiler-cargo-in-my-systems-path › 133630
Pip package manager is unable to detect the Rust compiler (cargo) in my system's PATH - The Rust Programming Language Forum
September 4, 2025 - Quite a confusing issue, my sys PATH shows that it has been added correctly, however, im repeatedly getting a 'metadata-generation-failed' message where PIP cannot see the installation manager?? I've opened and closed terminals and tried other methods to get it to work. im at a roadblock and ...
🌐
GitHub
github.com › rust-lang › cargo › issues › 14746
Enhance missing Cargo error message with platform-specific instructions · Issue #14746 · rust-lang/cargo
October 29, 2024 - Problem Current Behavior When Cargo is not installed, the error message is generic: 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 s...
Author   ystoneman
🌐
Lightrun
lightrun.com › answers › ijl-orjson-cargo-the-rust-package-manager-is-not-installed-or-is-not-on-path
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....
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 75712167 › cargo-the-rust-package-manager-is-not-installed-or-is-not-on-path-django-app-d
python - Cargo, the Rust package manager, is not installed or is not on PATH Django app deployment on vercel error - Stack Overflow
March 12, 2023 - After downloading the rustup-init.exe file from the above link, follow the onscreen instructions to install Cargo. The setup says it will Cargo to PATH, but in my case, it did NOT. So, make sure you add .cargo\bin to both System variables PATH ...
🌐
GitHub
github.com › python-poetry › poetry › issues › 8160
Suddenly require Rust and Cargo installed? · Issue #8160 · python-poetry/poetry
July 6, 2023 - 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.
Author   oc-ben-ellis
🌐
The Cargo Book
doc.rust-lang.org › cargo › commands › cargo-install.html
cargo install - The Cargo Book
The --force flag may be used to force Cargo to always reinstall the package. If the source is crates.io or --git then by default the crate will be built in a temporary target directory. To avoid this, the target directory can be specified by setting the CARGO_TARGET_DIR environment variable ...
🌐
GitHub
github.com › blockchain-certificates › cert-issuer › issues › 281
docker build fails - Cargo, the Rust package manager, is not installed or is not on PATH · Issue #281 · blockchain-certificates/cert-issuer
March 17, 2024 - 51.21 This package requires Rust and Cargo to compile extensions. Install it through 51.21 the system's package manager or via https://rustup.rs/ 51.21 51.21 Checking for Rust toolchain.... 51.21 [end of output] 51.21 51.21 note: This error originates from a subprocess, and is likely not a problem with pip.
Author   claudiunicolaa
🌐
Stack Overflow
stackoverflow.com › questions › 73260105 › whenever-i-try-to-push-in-heroku-i-get-this-error-cargo-the-rust-package-mana
whenever i try to push in Heroku,i get this error ."Cargo, the Rust package manager, is not installed or is not on PATH." how to resolve? - Stack Overflow
remote: This package requires Rust and Cargo to compile extensions. Install it through remote: the system's package manager or via https://rustup.rs/ remote: remote: [end of output] remote: remote: note: This error originates from a subprocess, and is likely not a problem with pip.
🌐
Netlify
answers.netlify.com › support
Trouble installing Python dependencies during Netlify deployment: Rust and Cargo not found - Support - Netlify Support Forums
July 6, 2023 - The deployment fails during the ... 1.6.0 package. The error message suggests that Rust and Cargo are not found, and it prompts me to install them. I have tried various solutions, including specifying the Rust toolchain and setting the PATH, but the problem persists. Here is my build commnad rustup toolchain install stable && python manage.py ...
🌐
pythontutorials
pythontutorials.net › blog › issue-with-installing-packages-with-pip-cargo-the-rust-package-manager-is-not-installed-or-is-not-on-path
How to Fix 'Cargo, the Rust Package Manager, is Not Installed or on PATH' Error When Installing Python Packages with pip — pythontutorials.net
The easiest and recommended way to install cargo is via rustup—Rust’s official installer and version manager. rustup installs the latest stable version of Rust, including cargo, and keeps it updated. Visit the rustup website. Download rustup-init.exe (the Rustup installer). Run the installer and follow the on-screen prompts. By default, it will install Rust and add cargo to your PATH.
🌐
Rust Programming Language
users.rust-lang.org › help
Can't install Rust on Windows using recommended installer - help - The Rust Programming Language Forum
April 22, 2023 - I'm following the guide in the docs. I have installed Visual Studio Intaller and downloaded the rustup-init.exe. When I launch the exe I get the following output: The Cargo home directory is located at: C:\Users\user\.cargo\bin This can be modified with the CARGO_HOME environment variable.