使用秋叶的stable diffusion整合包报错,原因是原先安装过python,后面卸载了,然后还有anaconda和一些其他软件有自带的python,我先在C盘搜索python,删除搜索到的所有文件,因为秋叶的整合包有python,我运行还是报错,找了很久,终于找到了python的配置文件,在E:\AI\AI2\sd-webui-aki-v4.1\sd-webui-aki-v4.1\venv这里的pyvenv.cfg里
这里的python位置改为秋叶整合包的位置
venv "E:\AI\AI2\sd-webui-aki-v4.1\sd-webui-aki-v4.1\venv\Scripts\Python.exe"
No Python at '"D:\python\python.exe'
请按任意键继续. . .
改成
改了后
成功了
能运行了
把位置改了就成功了
home = D:\AI\sd-webui-aki-v4.1\sd-webui-aki-v4.1\venv\Scripts\Python.exe
include-system-site-packages = True
version = 3.10.6
最后直接点的启动器安装成功
报错
venv "G:\sd-webui-aki-v4.2\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.5.1
Commit hash: <none>
Installing torch and torchvision
G:\sd-webui-aki-v4.2\venv\Scripts\python.exe: No module named pip
Traceback (most recent call last):
File "G:\sd-webui-aki-v4.2\launch.py", line 39, in <module>
main()
File "G:\sd-webui-aki-v4.2\launch.py", line 30, in main
prepare_environment()
File "G:\sd-webui-aki-v4.2\modules\launch_utils.py", line 311, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "G:\sd-webui-aki-v4.2\modules\launch_utils.py", line 113, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "G:\sd-webui-aki-v4.2\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 1
请按任意键继续. . .
这个是在E:\AI\AI2\sd-webui-aki-v4.1\sd-webui-aki-v4.1\venv这里的pyvenv.cfg里按照上面修改就好了,然后又报错git
遇到一个git报错,说是哈希值不对,然后我重装了git,Git文章来源:https://www.toymoban.com/news/detail-667371.html
安装成功了文章来源地址https://www.toymoban.com/news/detail-667371.html
到了这里,关于stable diffusion秋叶整合包安装时报错No Python at ‘“D:\python\python.exe‘请按任意键继续. . .人工智能画画AI绘图报错解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!