stable-diffusion-webui
stable-diffusion-webui copied to clipboard
cant install torch
venv "C:\Git\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash:
stderr: ERROR: Wheel 'torch' located at C:\Users\Gamer\AppData\Local\Temp\pip-unpack-r5mwj0vq\torch-1.12.1+cu113-cp310-cp310-win_amd64.whl is invalid.
[notice] A new release of pip available: 22.2.1 -> 22.2.2 [notice] To update, run: C:\Git\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
I have the same issue
downgrade phyton to 3.0.6 or lower OR wait until the gui is 3.11 ready
I had the same issue. downloaded necessary torch whl file from https://download.pytorch.org/whl/cu113/torch/ pip downloaded whl locally.
I know nothing about any of this stuff, but I got it to work by uninstalling Python 3.11 and installing 3.10.8. You might need to delete the venv folder too.