Replies: 1 comment
-
I doubt that you have pytorch installed "correctly" otherwise it would have seen you have pytorch and doesn't try to install it again note your are using stable-diffusion-webui-UX and not AUTOMATIC1111/stable-diffusion-webui if you want to use UX version then install python 3.10 delete venv, modify webui-user.bat so PYTHON points to python 3.10 and try again however if you wish to use AUTOMATIC1111/stable-diffusion-webui then you could download the so called "binary release" following the guide on the wiki see method 1
|
Beta Was this translation helpful? Give feedback.
-
Hi!
I hope you're doing well.
I was hoping someone could please help me with this error:
H:\stable-diffusion-webui-ux>H:\stable-diffusion-webui-ux\venv\Scripts\python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in h:\stable-diffusion-webui-ux\venv\lib\site-packages (24.0)
Collecting pip
Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.0
Uninstalling pip-24.0:
Successfully uninstalled pip-24.0
Successfully installed pip-24.2
H:\stable-diffusion-webui-ux>webui-user.bat
venv "H:\stable-diffusion-webui-ux\venv\Scripts\Python.exe"
INCOMPATIBLE PYTHON VERSION
This program is tested with 3.10.6 Python, but you have 3.12.4.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.
You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/
Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases
Use --skip-python-version-check to suppress this warning.
fatal: No names found, cannot describe anything.
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun 6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]
Version: 1.8.0-RC
Commit hash: 7f26cba
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121, 2.2.2, 2.2.2+cu121, 2.3.0, 2.3.0+cu121, 2.3.1, 2.3.1+cu121, 2.4.0, 2.4.0+cu121)
ERROR: No matching distribution found for torch==2.1.2
Traceback (most recent call last):
File "H:\stable-diffusion-webui-ux\launch.py", line 48, in
main()
File "H:\stable-diffusion-webui-ux\launch.py", line 39, in main
prepare_environment()
File "H:\stable-diffusion-webui-ux\modules\launch_utils.py", line 380, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "H:\stable-diffusion-webui-ux\modules\launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "H:\stable-diffusion-webui-ux\venv\Scripts\python.exe" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
Error code: 1
Press any key to continue . . .
Thankful for any help,
I can't find any binary release at https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases either?
Sincerely,
/I
Beta Was this translation helpful? Give feedback.
All reactions