stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Whatever I do its trying to use a 3.12.x version that's not even on my PC
Checklist
- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
I'm trying to install this for the first time, I haven't had Python at all on my PC for months now.
I install python 3.10.6, its the only version existing on my pc:
path:
windows' control panel uninstall thingy (to show u I literally only have 3.10.6 installed)
but when I try to install this, based on the documentation: https://github.com/AUTOMATIC1111/stable-diffusion-webui?tab=readme-ov-file#automatic-installation-on-windows
then this is what error I get (mentioning that I have 3.12.4 BUT I DONT HAVE ANY VERSION OTHER THAN 3.10.6 :DDDDDDDDDDDDDDDDDDDDDDD)
So what the hell can I do with this?
I've tried:
- uninstalling every single thing related to python
- restart pc
- install 3.10.6 version of python
- deleted venv folder and deleted python again
- installed 3.10.6 again
- did a "repair" with the python installer on 3.10.6
and it still has a stroke. Am I missing something?
Steps to reproduce the problem
above
What should have happened?
above
What browsers do you use to access the UI ?
No response
Sysinfo
above
Console logs
X:\1111\stable-diffusion-webui>webui-user.bat
'"X:\1111\stable-diffusion-webui\venv\Scripts\activate.bat"' is not recognized as an internal or external command,
operable program or batch file.
venv "X:\1111\stable-diffusion-webui\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/tag/v1.0.0-pre
Use --skip-python-version-check to suppress this warning.
=============================================================================================================================
Python 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:03:56) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
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 "X:\1111\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "X:\1111\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "X:\1111\stable-diffusion-webui\modules\launch_utils.py", line 381, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "X:\1111\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "X:\1111\stable-diffusion-webui\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 . . .
Additional information
No response