i got this error "pip install git+https://github.com/huggi
i got this error "pip install git+https://github.com/huggingface/hf_transfer@better_error_windows#egg=hf_transfer
Collecting hf_transfer
Cloning https://github.com/huggingface/hf_transfer (to revision better_error_windows) to c:\users\dl335\appdata\local\temp\pip-install-mobceim8\hf-transfer_2236cf29a2ae4c7899a2bbec52b452e9
Running command git clone --filter=blob:none --quiet https://github.com/huggingface/hf_transfer 'C:\Users\DL335\AppData\Local\Temp\pip-install-mobceim8\hf-transfer_2236cf29a2ae4c7899a2bbec52b452e9'
Running command git checkout -b better_error_windows --track origin/better_error_windows
branch 'better_error_windows' set up to track 'origin/better_error_windows'.
Switched to a new branch 'better_error_windows'
Resolved https://github.com/huggingface/hf_transfer to commit d330fc97c13e7b64e1b0bffb93820aa89ce72740
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.
[notice] A new release of pip is available: 23.0.1 -> 25.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip"
0 Replies