You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stderr: ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement onnx-graphsurgeon==0.3.27 (from versions: 0.0.1.dev4, 0.0.1.dev5, 0.5.2)
ERROR: No matching distribution found for onnx-graphsurgeon==0.3.27
Checklist
What happened?
Linux安装 在requirements_versions这部出错(https://github.com/metercai/SimpleSDXL/blob/SimpleSDXL/requirements_versions.txt)
Fooocus version: 2.5.5
Comfy version: 1dba801
SimpleSDXL version: v20240916.2952150
Install simpleai_base 0.3.19
Checking ...
[SimpleAI] GPU: NVIDIA RTX A4000, RAM: 63977MB, SWAP: 0MB, VRAM: 16376MB, DiskFree: 104039MB, CUDA: 12.6
[SimpleAI] local_did/本地身份ID: 4YJaNcoio5xbj3jndVxjqxsRBmfX
Installing torch and torchvision
Installing torchaudio
Version mismatch for numpy: Installed version 2.1.1 does not meet requirement 1.26.4
Installing requirements
Couldn't install requirements.
Command: "/config/other/SimpleSDXL/env/bin/python" -m pip install -r "requirements_versions.txt" --prefer-binary --index-url https://pypi.tuna.tsinghua.edu.cn/simple
Error code: 1
stderr: ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement onnx-graphsurgeon==0.3.27 (from versions: 0.0.1.dev4, 0.0.1.dev5, 0.5.2)
ERROR: No matching distribution found for onnx-graphsurgeon==0.3.27
Steps to reproduce the problem
用docker运行的脚本:
#!/bin/bash
source /functions.sh
export PATH="/home/abc/miniconda3/bin:$PATH"
设置变量和参数
自定义 WebUI 的名称(将用于程序本身和输出目录)
export CustomNAME="SimpleSDXL"
自定义 WebUI 的基础文件夹名称
export CustomBASE="other"
程序文件的完整路径
export CustomPATH="/config/$CustomBASE/$CustomNAME"
启动时传递的参数
export CustomPARAMETERS="--listen 0.0.0.0 --port 9000"
设置 Hugging Face 使用国内源
export HF_ENDPOINT=https://hf-mirror.com
设置 Hugging Face 缓存目录
将 Hugging Face 下载的模型存储在 ${CustomPATH}/HF 目录中,而不是默认的 ~/.cache/huggingface
export HF_HOME=${CustomPATH}/HF
创建文件夹(程序文件和输出文件夹)
mkdir -p ${CustomPATH}
mkdir -p $BASE_DIR/outputs/$CustomBASE/$CustomNAME
安装 pciutils
apt-get update
apt-get install -y pciutils
创建并激活 Conda 虚拟环境
if [ ! -d ${CustomPATH}/env ]; then
conda create -p ${CustomPATH}/env -y
fi
在 .bashrc 中添加环境激活命令
这将确保在每次打开终端时自动激活这个 Conda 环境
echo "source activate ${CustomPATH}/env" >> ~/.bashrc
激活 Conda 环境
source activate ${CustomPATH}/env
配置 Conda 使用清华大学镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --set show_channel_urls yes
全局设置 pip 源(可选)
mkdir -p ~/.pip
echo "[global]" > ~/.pip/pip.conf
echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
安装所需的 Conda 包
conda install -n base conda-libmamba-solver -y
conda install -c conda-forge git python=3.10 pip --solver=libmamba -y
conda install -c nvidia cuda-cudart --solver=libmamba -y
克隆/更新程序文件
if [ ! -d ${CustomPATH}/SimpleSDXL ]; then
cd "${CustomPATH}" && git clone https://github.com/metercai/SimpleSDXL.git
fi
cd ${CustomPATH}/SimpleSDXL
git pull -X ours
使用 sl_folder 创建符号链接,以使用公共模型文件夹
sl_folder ${CustomPATH}/SimpleSDXL/models checkpoints ${BASE_DIR}/models stable-diffusion
sl_folder ${CustomPATH}/SimpleSDXL/models loras ${BASE_DIR}/models lora
sl_folder ${CustomPATH}/SimpleSDXL/models vae ${BASE_DIR}/models vae
sl_folder ${CustomPATH}/SimpleSDXL/models embeddings ${BASE_DIR}/models embeddings
sl_folder ${CustomPATH}/SimpleSDXL/models hypernetworks ${BASE_DIR}/models hypernetwork
sl_folder ${CustomPATH}/SimpleSDXL/models upscale_models ${BASE_DIR}/models upscale
sl_folder ${CustomPATH}/SimpleSDXL/models clip_vision ${BASE_DIR}/models clip_vision
sl_folder ${CustomPATH}/SimpleSDXL/models controlnet ${BASE_DIR}/models controlnet
sl_folder ${CustomPATH}/SimpleSDXL/models unet ${BASE_DIR}/models unet
sl_folder ${CustomPATH}/SimpleSDXL/models clip ${BASE_DIR}/models clip
sl_folder ${CustomPATH}/SimpleSDXL/models inpaint ${BASE_DIR}/models inpaint
sl_folder ${CustomPATH}/SimpleSDXL/models llms ${BASE_DIR}/models llms
sl_folder ${CustomPATH}/SimpleSDXL/models vae_approx ${BASE_DIR}/models vae_approx
sl_folder ${CustomPATH}/SimpleSDXL/models prompt_expansion ${BASE_DIR}/models prompt_expansion
sl_folder ${CustomPATH}/SimpleSDXL/models gligen ${BASE_DIR}/models gligen
sl_folder ${CustomPATH}/SimpleSDXL/models style_models ${BASE_DIR}/models style_models
sl_folder ${CustomPATH}/SimpleSDXL outputs ${BASE_DIR}/outputs/$CustomBASE $CustomNAME
安装所需的依赖
cd ${CustomPATH}/SimpleSDXL
pip install packaging pygit2==1.12.2
启动 SimpleSDXL
python entry_with_update.py ${CustomPARAMETERS}
What should have happened?
linux安装requirements_versions.txt出现问题
What browsers do you use to access Fooocus?
Google Chrome
Where are you running Fooocus?
Locally with virtualization (e.g. Docker)
What operating system are you using?
unraid
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: