Repository: stable-diffusion-webui
Issue: Why can't I use the newest python???????
Labels: asking-for-help-with-local-system-issues

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] 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
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

It said I needed the older version of python, 3.10

### Steps to reproduce the problem

Idk

### What should have happened?

It should've worked

### What browsers do you use to access the UI ?

Google Chrome, Microsoft Edge, Other

### Sysinfo

Huh?

### Console logs

```Shell
venv "C:\Users\kenne\Kenne's Desktop\Stable Diffusion Web-UI\stable-diffusion-webui\venv\Scripts\Python.exe"
==============================================================================================================
INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.12.2.
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.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)]
Version: v1.8.0
Commit hash: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5
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)
ERROR: No matching distribution found for torch==2.1.2
Traceback (most recent call last):
  File "C:\Users\kenne\Kenne's Desktop\Stable Diffusion Web-UI\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "C:\Users\kenne\Kenne's Desktop\Stable Diffusion Web-UI\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "C:\Users\kenne\Kenne's Desktop\Stable Diffusion Web-UI\stable-diffusion-webui\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 "C:\Users\kenne\Kenne's Desktop\Stable Diffusion Web-UI\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "C:\Users\kenne\Kenne's Desktop\Stable Diffusion Web-UI\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

I have python 3.12