[Bug]: "Couldn't Install Torch" could not find torch issue
envgap__AUTOMATIC1111__stable-diffusion-webui-6592
Original GitHub issue ↗Opened 2023-01-10
01 / FAILURE SIGNATURE
As reported upstream
error: metadata-generation-failed
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
requirements.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
AUTOMATIC1111/stable-diffusion-webui #6592 · read the original issue
### Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
### What happened?
Installing torch and torchvision
Traceback (most recent call last):
File "C:\Users\BENJIII\stable-diffusion-webui\launch.py", line 306, in <module>
prepare_environment()
File "C:\Users\BENJIII\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\BENJIII\stable-diffusion-webui\launch.py", line 64, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "C:\Users\BENJIII\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
when clicking on webuiuser folder to run program
### Steps to reproduce the problem
1. download python
2. download git
3. download stable diffusion
5. download model folder
6. set folder to models location in C:\users folder
7.right click on webui-user, go to edit add in "git pull"
8. fill in python section with folder location of python
9. run webui
10.
### What should have happened?
the program should have ran and spat out a web address for me to go to
### Commit where the problem happens
bd4587d2f5b70ed951d2c17f25a4622fc1cb31c2
### What platforms do you use to access UI ?
Windows
### What browsers do you use to access the UI ?
Microsoft Edge
### Command Line Arguments
_No response_
### Additional information, context and logs
_No response_04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.