项目地址:GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI
这里使用conda虚拟环境进行安装
1. 创建环境
conda create -n sd-webui python=3.10.6 -y
2. 激活环境
conda activate sd-webui
3. 拉取项目
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
4. 进入项目并安装
cd stable-diffusion-webui
./webui.sh
4.1 这时会报错:ERROR: This script must not be launched as root, aborting...