首先前面的步骤中stable-diffusion已经创建了一个虚拟环境,拿到这个虚拟环境的python路径,比如是:D:\ai\stable-diffusion-webui\venv\Scripts\Python.exe 在执行上面那篇文章中的命令时,要变成 D:\ai\stable-diffusion-webui\venv\Scripts\Python.exe -m pip install basicsr facexlib D:\ai\stable-diffusion-webu...
安装完毕后,再打开stable diffusion根目录的webui-user.bat,会发现不再要求安装GFPGAN。 同理,如果遇到其他提示github上的模块无法安装也可以用同样的方法,都可以在 F:\SDAI\stable-diffusion-webui\venv\Scripts的Scripts 目录下手动进行下载,这里就不再一一举例,希望对有需求的小伙伴有所帮助。 3.运行时python ...
最后运行webui-user.bat可能遇到python版本不符合运行torch的情况,如下: PS E:\aigc\stable-diffusion-webui> venv/Scripts/activate (venv) PS E:\aigc\stable-diffusion-webui> webui-user.bat webui-user.bat: The term 'webui-user.bat' is not recognized as a name of a cmdlet, function, scri...
fi#Name of the subdirectory (defaults to stable-diffusion-webui)if [[ -z "${clone_dir}" ]] then clone_dir="stable-diffusion-webui" fi#python3 executableif [[ -z "${python_cmd}" ]] then python_cmd="python3" fi#git executableif [[ -z "${GIT}" ]] then export GIT="git" fi...
我在运行 E:\Art\stable-diffusion-webui-master 时遇到了以下问题: swiftCopy code 排查过程 首先我检查了系统环境变量中的 Python 路径,发现其引用的路径已被删除,因此我重新添加了正确的路径。 但是问题依然存在,于是我进一步检查了项目中的配置文件和运行脚本,发现问题可能与 Python 虚拟环境有关。 我尝试手动运...
python利用stable-diffusion-webui进行AI画图 先把源码,克隆到本地,conda创建一个虚拟环境 gitclonehttps://github.com/AUTOMATIC1111/stable-diffusion-webui.git conda create -n stableDiffusionWebui python=3.10.6 conda activate stableDiffusionWebui 下载大模型,可以去https://hf-mirror.com/...
如果系统之前安装过Python3.10或者使用过Pytorch深度学习框架,那么推荐直接本地安装Stable-Diffusion-Webui,因为Stable-Diffusion的核心依赖库也是Pytorch。 首先拉取官方的项目: 随后进入项目的目录: 官方文档建议直接在目录中运行shell脚本: 但事实上,shell脚本很容易在过程中报错,该项目的核心代码其实是launch.py,所以理论...
简介:stable-diffusion-webui 更换 Python 版本 一、原因 stable-diffusion-webui 推荐版本是 Python 3.10 ,如果电脑中安装了其他版本到Python,会警告推荐使用Python 3.10版本。 官方安装教程 Automatic Installation on Windows 1.Install Python 3.10.6 (Newer version of Python does not support ...
I am getting two different errors when I try to launch the webui.bat file from windows explorer. First one is this: Couldn't launch python exit code: 9009 stderr: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > ...
Moved to F:\stable-diffusion-webui Let me know if this works on your side. Hello, I get the same issue and solved it by moving the 'stable-diffusion-webui' folder in a shorter path. Was in F:\Users\UserName\Documents\StableDiffusion\stable-diffusion-webui Moved to F:\stable-diffusion...