I’m trying to install a webUI for OpenSUSE for Stable Diffusion (GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI) and none of the webuis seem to work, I’ve tried a few, I looked online and couldn’t find any relevant results, here is my Error Message when I run the webui.sh:
Collecting lit (from pytorch-triton-rocm<2.1,>=2.0.0->torch==2.0.1+rocm5.4.2)
Using cached https://download.pytorch.org/whl/lit-15.0.7.tar.gz (132 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Looking in indexes: https://download.pytorch.org/whl/rocm5.4.2
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File "/home/deadvey/git/stable-diffusion-webui/launch.py", line 48, in <module>
main()
File "/home/deadvey/git/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/home/deadvey/git/stable-diffusion-webui/modules/launch_utils.py", line 352, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "/home/deadvey/git/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "/home/deadvey/git/env/bin/python3" -m pip install torch==2.0.1+rocm5.4.2 torchvision==0.15.2+rocm5.4.2 --index-url https://download.pytorch.org/whl/rocm5.4.2
Error code: 1
If anyone else needs any information just ask.