Stable Diffusion "Couldn't install torch" Error

Share
Workaround available Windows, Linux Updated November 14, 2026Based on 3 user reportsHow we research

Quick answer

The first launch failed to download or install PyTorch. Check the Python version, delete the venv, and rerun, or use Forge's one-click package.

Most likely fix: Clean reinstall

How to fix it

Try these in order — the most common fix is first.

  1. 1. Clean reinstall

    1. Delete the venv folder
    2. Run webui-user.bat again as a normal user in a folder you own (not Program Files)
    Did this fix it?
  2. 2. Check Python

    1. Install the Python version the project recommends (3.10.x for A1111)
    2. Make sure it is on PATH and the webui uses it
    Did this fix it?
  3. 3. Alternative

    1. Try the WebUI Forge one-click package, reported to work when manual torch installs fail
    Did this fix it?

Symptoms

webui-user.bat ends with 'RuntimeError: Couldn't install torch', often after pip errors or 'Access is denied'.

Why it happens

  • Unsupported Python version
  • Interrupted download or no internet access to the PyTorch index
  • Permission errors on files in the venv
  • Corrupt partial venv from an earlier failed run

This guide also covers

  • couldn't install torch stable diffusion
  • runtimeerror couldn't install torch
  • webui-user.bat error torch

Still not working?

If Stable Diffusion keeps failing, you're not alone. See every Stable Diffusion problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other Stable Diffusion errors

All 10 Stable Diffusion errors and fixes →