Issue installing Stable Diffusion

I am trying to install Stable Diffusion with:

yay -S stable-diffusion-webui

But I am getting:

Preparing Python environment...
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Cloning into '/opt/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
fatal: could not read Username for 'https://github.com': No such device or address
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/stable-diffusion-webui/modules/launch_utils.py", line 412, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/opt/stable-diffusion-webui/modules/launch_utils.py", line 192, in git_clone
    run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/opt/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone --config core.filemode=false "https://github.com/Stability-AI/stablediffusion.git" "/opt/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128
Python 3.11.14 (main, Oct 22 2025, 09:44:23) [GCC 15.2.1 20250813]
Version: 1.10.1
Commit hash: <none>
Cloning Stable Diffusion into /opt/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...

ERROR: Failed to upgrade and reconfigure stable-diffusion-webui

error: command failed to execute correctly

Anyone successful in installing Stable Diffusion?

The package probably has an issue, as there is a comment submitted last month on its AUR page:

jholmer commented on 2025-12-31 02:01 (UTC)

Package is quite broken at the moment.

Cloning into '/opt/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
fatal: could not read Username for 'https://github.com': No such device or address
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/stable-diffusion-webui/modules/launch_utils.py", line 412, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/opt/stable-diffusion-webui/modules/launch_utils.py", line 192, in git_clone
    run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/opt/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone --config core.filemode=false "https://github.com/Stability-AI/stablediffusion.git" "/opt/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128

Perhaps another, more up-to-date, AUR package might work (and also have the benefit of not requiring the compiling of python311 to install). Here’s a list with the most recently updated ones at the top.

Most importantly the repo no longer exist - so there is that - secondly, if it requires Python 3.11 then you should be very careful on Manjaro.

Manjaro provides Python 3.13 on stable and testing branch.

Upstream Arch Linux and Manjaro unstable runs Python 3.14

https://stablediffusionweb.com

Github search for stablediffusion repository

I have been playing with AI and various methods to interface to it.

Even the software is not opensource - I find LM Studio to be the most stable and one that doesn’t require endless tweaking et.al.

It is delivered as an appImage - on updates you download a new appImage.

1 Like

Yes but it was quite some time ago, so I may be out-of-date.

I didn’t use the AUR, and I found the one you tried to install the easiest UI to install at the time (well it was the first one I managed to install, perhaps forge is slightly easier). However it doesn’t seem to have been maintained in the last 2 years.

There’s also forge, not sure which version(s) of python it should work with.

And comfyui, which I never quite got used to. Apparently it works with python 3.13 and even 3.14 though there may be issues with the latter.

There’s another interesting UI, InvokeAI but I couldn’t get it to work at the time. It requires either 3.11 or 3.12, so use the latter.


civitai and huggingface for models, etc.