ERROR: Could not find a version that satisfies the requirem…
Error message
ERROR: Could not find a version that satisfies the requirement torch==2.6.0 (from versions: 2.9.0, 2.9.1, 2.10.0, 2.11.0, 2.12.0)
ERROR: No matching distribution found for torch==2.6.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'vllm' when installing build dependencies for vllmWhat broke
The installation process for the 'vllm' package failed because it requires a specific version of the 'torch' library (2.6.0) that is not available in the repository. Instead, only newer versions (2.9.0 and above) are listed as available.
Why it broke
This issue occurred because the requested version of 'torch' (2.6.0) does not exist in the package index you are using. It may be that the version has been removed or never existed in the repository you are accessing.
How to fix
To resolve this, you can either install a different version of 'torch' that is available or check if 'vllm' has been updated to support a newer version of 'torch'. You can also consider using a different package index or source if necessary.
Code fix
pip install torch==2.9.0 vllmExplained by ErrorOracle
Prevention tip
You can also consider using a different package index or source if necessary.
Was this helpful?
AI-generated explanation. Always verify fixes in your codebase.