[python] 패키지 설치 오류: Cargo, the Rust package manager, is not installed or is not on PATH.

황준하·2024년 11월 28일

에러 메시지

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

해결법 : Rust 설치

러스트 설치

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

환경변수 갱신

source $HOME/.cargo/env

Rust 설치 확인

rustc --version
cargo --version

문제가 되었던 패키지 다시 설치

pip install polaris-lib

0개의 댓글