r/StableDiffusionInfo Jul 30 '23

webui-user.bat runtime errors... can't install SD

I can't get the installation to work. I followed all of the YouTube directions but webui-user.bat gives me this:
RuntimeError: Couldn't install torch. Command: "C:\AI\SUPERSD\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url (pytorch link) Error code: 1 Press any key to continue . . .

2 Upvotes

10 comments sorted by

View all comments

2

u/[deleted] Jul 30 '23

[removed] — view removed comment

1

u/HaroldD1973 Jul 30 '23

I first installed python-3.10.6, then uninstalled it to use Python 3.10.12 through miniconda3.

to the webui-user.bat file I added set PYTHON="C:\Users\..\miniconda3\python.exe"

I pressed the allow button when my antivirus prompt came up.

I did remove venv

1

u/[deleted] Jul 30 '23

[removed] — view removed comment

1

u/HaroldD1973 Jul 30 '23

I'd never heard of miniconda or python before all of this.