Free | No tracking | Every fact with a source|German and English

Error / Installation

No matching distribution found for torch (wrong Python version)

pip can’t find a PyTorch package that matches your Python version or your system.

The message

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

Affects: Python, ComfyUI, AUTOMATIC1111 Stable Diffusion WebUI, Stable Diffusion WebUI Forge, TextGen (text-generation-webui), InvokeAI, Fooocus

Why is this happening?

PyTorch is only available for certain Python versions, and on Windows only as a 64-bit package. The current version 2.14 has packages for Python 3.10 through 3.14. If you use a brand-new Python version, one that’s too old (3.9 or older), or a 32-bit Python, pip won’t find anything. An outdated program that requires an old fixed torch version can also trigger the error.

How to fix it

  1. Check your version with python --version and whether it’s 64-bit: python -c "import struct; print(struct.calcsize('P')*8)" must output 64.
  2. Check your program’s installation guide to see which Python version is recommended. For example, ComfyUI recommends Python 3.13 (and 3.12 if you have problems with custom nodes).
  3. Install the right version with the Python install manager, for example py install 3.13.
  4. Delete the old venv in the program folder and recreate it with the correct version: py -V:3.13 -m venv venv. Activate it and reinstall the dependencies.
  5. For PyTorch, use the installation command from the program’s guide or from pytorch.org (with the matching --index-url for NVIDIA, AMD, or Intel).

Better not: Don’t install some random “torch”-like package with a different name just because pip finds it.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.