Stable-diffusion-webui full install guide

Mostly a test post


Most guides I’ve seen just flat out skip steps with no explanation. Mostly focused on Ubuntu 24.04 as that is what I run.

Hard requirements (as of 11/1/24)

  • git
  • python 3.10 (Will fail with any other version)
  • Some surface level knowledge of linux
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

cd into stable-diffusion-webui

Add new ppa to install python3.10

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10 python3.10-venv

python3.10 -m venv venv
source venv/bin/activate

This is how it should look like if the venv is set up correctly

Run the webui.sh

./webui.sh

Now just sit and wait for everything to download

Sources:
https://github.com/AUTOMATIC1111/stable-diffusion-webui
https://stackoverflow.com/questions/76057177/creating-a-venv-with-python-3-10-manually-installed-on-ubuntu-fails

Leave a Reply

Your email address will not be published. Required fields are marked *