Hey guys, i'm trying to run a python program using the official python egg, but it has a dependency spits out an error when I try to install it because it needs Cargo, but i'm not sure how to install it. Here's the error log
Collecting python-dotenv==0.21.0
Using cached python_dotenv-0.21.0-py3-none-any.whl (18 kB)
Collecting requests==2.22.0
Using cached requests-2.22.0-py2.py3-none-any.whl (57 kB)
Collecting rosu_pp_py==0.9.1
Using cached rosu_pp_py-0.9.1.tar.gz (14 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
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]
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.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "/home/container/scoreposter.py", line 1, in <module>
import requests
ModuleNotFoundError: No module named 'requests'