uv add --index
fails to install PyTorch CUDA packages on Windows
#11532
Labels
question
Asking for clarification or support
Question
Is there a way to directly install the CUDA version of PyTorch via the command line on Windows and support project dependency management with uv?
I tried installing PyTorch using
uv add torch --index
on my computer, but it ultimately failed. The documentation doesn't seem to mention this. Why doesuv add torch --index
fail to install PyTorch?Although I can install PyTorch by modifying the
pyproject.toml
file as mentioned in the documentation, I want to know if it is possible to install it directly through the command line (which is simpler and more familiar).Platform
Windows 11 x86_64
Version
uv 0.6.0 (591f38c 2025-02-14)
The text was updated successfully, but these errors were encountered: