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

Error / Installation

A1111: INCOMPATIBLE PYTHON VERSION / Couldn't install torch

The WebUI is running with a Python version that doesn't have the required PyTorch version, so the installation of torch fails.

The message

INCOMPATIBLE PYTHON VERSION This program is tested with 3.10.6 Python, but you have 3.12.… … RuntimeError: Couldn't install torch.

Affects: AUTOMATIC1111 Stable Diffusion WebUI, Stable Diffusion WebUI Forge, Stable Diffusion WebUI Forge – Neo, Python

Why is this happening?

AUTOMATIC1111 (and classic Forge) installs a fixed, older PyTorch version that is only available for Python 3.10. With Python 3.11, 3.12, or newer, pip can't find a matching package and stops with "Couldn't install torch". Forge Neo, on the other hand, is meant for Python 3.13.

How to fix it

  1. The easiest way: use the ready-made sd.webui.zip package from the A1111 releases (or the Forge one-click package). It brings its own matching Python. Unzip it, run update.bat, and then start run.bat.
  2. For the Git installation: install Python 3.10.6 from python.org (https://www.python.org/downloads/release/python-3106/) and check "Add Python to PATH" during installation.
  3. If you have multiple Python versions, enter the path to the 3.10 version in webui-user.bat, for example set PYTHON=C:\Users\<Name>\AppData\Local\Programs\Python\Python310\python.exe.
  4. Delete the venv folder in the WebUI folder. It was created with the wrong Python version and will be recreated on the next start.
  5. Start webui-user.bat as a normal user (not as administrator) by double-clicking it in Explorer.
  6. For Forge Neo, the rule is different: according to the guide, you need Python 3.13 (recommended via uv with --uv in webui-user.bat).

Better not: Don't suppress the warning with --skip-python-version-check; that only hides the problem.

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.