Cargo, the Rust package manager, is not installed or is not on PATH.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustc --version
cargo --version
pip install polaris-lib