Advertisement
jdm5680
Dec 13th, 2022
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I'm striking out on lines 54/55 - installing torch and torchvision. I've manually gone to the link and I see a bunch of files that look like they meet the needs as they have 1.12.1+cu113 listed in the file name. Any ideas on how to fix this? Below is what shows when I run the webui-user.bat file.
  2.  
  3. venv "C:\Users\jdm56\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
  4. Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
  5. Commit hash: 685f9631b56ff8bd43bce24ff5ce0f9a0e9af490
  6. Installing torch and torchvision
  7. Traceback (most recent call last):
  8. File "C:\Users\jdm56\AI\stable-diffusion-webui\launch.py", line 294, in <module>
  9. prepare_environment()
  10. File "C:\Users\jdm56\AI\stable-diffusion-webui\launch.py", line 206, in prepare_environment
  11. run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
  12. File "C:\Users\jdm56\AI\stable-diffusion-webui\launch.py", line 49, in run
  13. raise RuntimeError(message)
  14. RuntimeError: Couldn't install torch.
  15. Command: "C:\Users\jdm56\AI\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
  16. Error code: 1
  17. stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
  18.  
  19. stderr: ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: none)
  20. ERROR: No matching distribution found for torch==1.12.1+cu113
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement