-
Notifications
You must be signed in to change notification settings - Fork 25.6k
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]: TimeoutError/error code: 2/Couldn't install torch #15554
Comments
Maybe you can install torch-2.1.2+cu121 manually, by command (And if you are in China, the speed of connecting to this pytorch official website will be slow, you can use tsinghua mirror to download pytorch, by command |
I'm in Poland. C:\Users\User>pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121 During handling of the above exception, another exception occurred: Traceback (most recent call last): [notice] A new release of pip available: 22.2.1 -> 24.0 |
I'm having the same problem here, Spain. Proof: Error: During handling of the above exception, another exception occurred: Traceback (most recent call last): |
The same error happened here. But when I read the installation page again I realized that my version of python is newer than the one supported by pytorch: python 3.10.6. After creating a virtual environment with the correct version of python everything worked correctly here. Hope this helps you. |
what version did you use and how to do it? |
The python version is 3.10.6 as pointed by README file. I've created with conda:
After this, activate the envinronment:
Run the ./webui.sh script using the created envinronment. |
I have python version 3.10.6 |
maybe you can try |
try it and it stopped at "2.1/2.5 GB 1.5 MB/s eta 0:03:34" and after some time it give this error ERROR: Exception: During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Checklist
What happened?
when downloading it stops at 2.1/2.5 GB and gives the same error
Steps to reproduce the problem
What should have happened?
it should download normally
What browsers do you use to access the UI ?
No response
Sysinfo
not there yet
Console logs
Additional information
I have a good PC with 64 GB RAM and good internet, it downloads to 2.1 GB in about half an hour. The same problem happened to me a few years back but then I just gave up.
The text was updated successfully, but these errors were encountered: