-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: RuntimeError: Couldn't install torch. #16215
Comments
Can confirm on ARCH. I attach log. |
I'm having the same problem |
This is a separate issue from the original report. You are trying to run the script in a Python 3.12 environment, webui doesn't support that version, you need to install Python 3.10.6. If you don't want to downgrade your system python, just download the tarball of 3.10.6,
with
in |
I've uninstalled Python 3.12 and installed 3.10.6 before installing Stable Diffusion. But still is there a solution to fix my problem? |
My response was mostly aimed at Aleszp, as their logs suggest that they're using 3.12. Your case is different, you are correctly using 3.10.6, but looking at your logs it looks like you don't have pip? Can you open a cmd prompt and check the result of
If you don't have pip, you can install it by looking at how-tos on the internet but the quickest and the easiest way is to:
When that's done, restart your PC and test |
Hi, thanks for this, but will this affect the 3.12 install? just wanted to make sure before changing anything. |
If you have 3.12 installed on your system there are ways to install 3.10.6 without adding it to PATH and affecting your 3.12 install that is in PATH, or even just getting the 3.10.6 executable without installing it and pointing the program towards that. However, specifics depend on your system. I can help if you're running Linux (Basically just check my first response to this issue) but I'm not knowledgeable on how to do any of this on Windows sadly. |
thanks again, i got both, so i guess the 3.12 install messed up the paths. have no ideia why.. since both have the paths |
I actually have 3.10 installed (AUR version already installed it as dependence), the WebUI worked like 2-3 weeks ago, this week it suddenly stopped working (a bit of tactical googling lead me to this „identical for non-expert” issue). Adding: export If AUR package maintainer sees this: Maybe some package modyfication is needed? Thank you @pesado1 your answers to both me and arkeence were essential for me to figure this out. |
Checklist
What happened?
I have installed sd-v1-4.ckpt and GFPGAN 1.4. Now when I try to open it (WebUi-user.bat) it gives me this error. I tried to install manually but it doesn't work. I need it to work on AMD CPU.
Steps to reproduce the problem
What should have happened?
It should have installed torch
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
The --dump-sysinfo dosen't work.
Console logs
Additional information
I have windows 11
The text was updated successfully, but these errors were encountered: