stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Stable diffusion installing problem

Open vLota opened this issue 2 years ago • 1 comments

so i've tried to install stable diffusion using a tutorial but i keep getting this error and since im a moron i need some help.

Creating venv in directory venv using python "C:\Users\Kuba\AppData\Local\Programs\Python\Python311\python.exe" venv "C:\Users\Kuba\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] Commit hash: 3246a2d6b898da6a98fe9df4dc67944635a41bd3 Installing torch and torchvision Traceback (most recent call last): File "C:\Users\Kuba\stable-diffusion-webui\launch.py", line 306, in prepare_environment() File "C:\Users\Kuba\stable-diffusion-webui\launch.py", line 218, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch") File "C:\Users\Kuba\stable-diffusion-webui\launch.py", line 64, in run raise RuntimeError(message) RuntimeError: Couldn't install torch. Command: "C:\Users\Kuba\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 Error code: 1 stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113

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

vLota avatar Jan 06 '23 13:01 vLota

so what tutorial you use? most tutorial use conda to creating Virtual Environment not use venv.

xavierskip avatar Jan 08 '23 07:01 xavierskip