Thanks @rabcor whit this works for me:
# Download python 3.11 from AUR
yay -S python311
# remove previous virtual environment
rm -rf /opt/stable-diffusion-web-ui/venv
# Create python virtual environment and enters Python interpreter
source /opt/stable-diffusion-web-ui/venv/bin/activate
pip install wrapt # install wrapt as dependency
python3.11 -m venv .
# Install Stable Diffusion web UI on the path and start the server
cd "/opt/stable-diffusion-web-ui" && ./webui.sh
Pinned Comments
bhill commented on 2023-11-21 09:06 (UTC)
Make sure to consider your hardware before installing AI programs: They're very resource intense and require capable hardware just to run.
For example: If your intended device has less than 6 GB of VRAM, I would advise against installing this. Everything would download and the UI would boot, but once you try to generate an image, you'll receive an error saying there's not enough VRAM to generate images.