[Bug]: Installation failed: Error code: 137
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I was running the command and just in the end failed. It says:
Downloading https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-linux_x86_64.whl (1801.8 MB)
━━━━━━━━╸ 1.8/1.8 10.9 eta 0:00:01
GB MB/s Killed
Traceback (most recent call last):
File "/home/anibal/stable-diffusion-webui/launch.py", line 351, in
Steps to reproduce the problem
I was running the installation command and just in the end failed. I am in Ubuntu Studio 22.04.
What should have happened?
Finish the installation.
Commit where the problem happens
Commit hash: 91ae48fd7e20c60d6374f340cac0939f56d87048
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
No
List of extensions
No
Console logs
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Commit hash: 91ae48fd7e20c60d6374f340cac0939f56d87048
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1+cu117
Downloading https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-linux_x86_64.whl (1801.8 MB)
━━━━━━━━╸ 1.8/1.8 10.9 eta 0:00:01
GB MB/s Killed
Traceback (most recent call last):
File "/home/anibal/stable-diffusion-webui/launch.py", line 351, in <module>
prepare_environment()
File "/home/anibal/stable-diffusion-webui/launch.py", line 253, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "/home/anibal/stable-diffusion-webui/launch.py", line 81, in run
raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "/home/anibal/stable-diffusion-webui/venv/bin/python3" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Error code: 137
Additional information
No response
The issue is resolved if you use anaconda instead. Also make sure that you ran conda init during the installation so that anaconda python is in your path.
Thanks, I'll try. I never used anaconda, I'll do a research and I tell you.
Enviado desde Yahoo Mail con Android
El dom, mar 26, 2023 a 10:34, @.***> escribió:
The issue is resolved if you use anaconda instead. Also make sure that your ran conda init during the installation so the anaconda python is in your path.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I have the same problem, do you resolved it?
Hello ! Still have the same problem but didn't find any solution
Your RAM is not enough!