Replies: 4 comments
-
|
Beta Was this translation helpful? Give feedback.
-
When I do this and run webui-user.bat, it recreates a link to the wrong version of python. I have 10.6 installed and specified in my env; if I run python from a fresh prompt, it runs 10.6. |
Beta Was this translation helpful? Give feedback.
-
add conda Python 3.10 to my sys PATH, and del venv dir in sd folder, fix my problem |
Beta Was this translation helpful? Give feedback.
-
If the version check shows 3.10.6 but you still get an error, you can try the following: Automatically copying venv-Scripts copies as old version Python.exe. The problem is solved by deleting the exe files from the file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
tried to install version on windows
gpu - 6600xt
and at step 3 this error, how to fix it?
`venv "E:\sd\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
INCOMPATIBLE PYTHON VERSION
This program is tested with 3.10.6 Python, but you have 3.11.3.
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.
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)]
Commit hash: 3284ccc
Installing torch and torchvision
Collecting torch==2.0.0
Using cached torch-2.0.0-cp311-cp311-win_amd64.whl (172.3 MB)
Collecting torchvision==0.15.1
Using cached torchvision-0.15.1-cp311-cp311-win_amd64.whl (1.2 MB)
ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none)
ERROR: No matching distribution found for torch-directml
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: E:\sd\stable-diffusion-webui-directml\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "E:\sd\stable-diffusion-webui-directml\launch.py", line 354, in
prepare_environment()
File "E:\sd\stable-diffusion-webui-directml\launch.py", line 261, in prepare_environment
run(f'"{python}" -m pip install {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "E:\sd\stable-diffusion-webui-directml\launch.py", line 81, in run
raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "E:\sd\stable-diffusion-webui-directml\venv\Scripts\python.exe" -m pip install torch==2.0.0 torchvision==0.15.1 torch-directml
Error code: 1`
Beta Was this translation helpful? Give feedback.
All reactions