0

I am trying to install PyTorch 2.7.0 with CUDA 12.6 support in a Docker container, but I get the following error:

ERROR: Could not find a version that satisfies the requirement torch==2.7.0+cu126 (from versions: none)
ERROR: No matching distribution found for torch==2.7.0+cu126

However, when I run the same command on the host machine (outside Docker), it works fine:

pip install --no-cache-dir torch==2.7.0+cu126 --index-url https://download.pytorch.org/whl/cu126

Details: Docker and host machine has the same python version

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.