安装stable diffusion的出错
对于安装stable diffusion来说这个视频很好,但是我在本机的c盘照着做,还是报错,所以就自己整理一下自己的错误
我下载git clone总是出现这种错误:
![](https://img-blog.csdnimg.cn/img_convert/cc6ea38e7d1aa45d0c18a00da8cc3a5a.png)
Cloning into 'stable-diffusion-webui'...
fatal: unable to access 'https://github.com/AUTOMATIC1111/stable-diffusion-webui/': error setting certificate verify locations: CAfile: https://github.com/AUTOMATIC1111/stable-diffusion-webui CApath: none
解决办法:
git config --global http.sslverify "false"
然后再git clone
作者:dodo_dodo_doit https://www.bilibili.com/read/cv17377261/ 出处:bilibili
![](https://img-blog.csdnimg.cn/img_convert/6029936c768f47f5dbbdae7ea5cfcec4.png)
git clone+网址 ,终于可以下载了
![](https://img-blog.csdnimg.cn/img_convert/93f3da567644d201d1bc4c9cd3b63bbb.png)
根本原因查出来了:
https://blog.csdn.net/qq_2300688967/article/details/81096693
![](https://img-blog.csdnimg.cn/img_convert/8263aaa9fc3f5091aa6e7222e7e7cb38.png)
所以用git config --system http.sslverify false
或者 git config --system http.sslcainfo "C:\Program Files\Git\mingw64\ssl\certs" (我的路径位置)都可以
![](https://img-blog.csdnimg.cn/img_convert/6f8c1077efe511cf263de923648d552f.png)
![](https://img-blog.csdnimg.cn/img_convert/c7e14e857d13fab66e3db8684634ee26.png)
接下来 按照视频中继续操作,发现卡在gfpgan这里动不了了,继续看视频,把要变换的东西加上!!(多重复几次)
结果还是不行——不卡在gfpgan,而是在其他地方卡壳了---就在repositories文件夹的teming-transformers里:
![](https://img-blog.csdnimg.cn/img_convert/936d2a38dce8dcea61d7b6d5b15e187c.png)
解决方法:把我下载的同组的姐妹的master的压缩包解压缩就行啦
![](https://img-blog.csdnimg.cn/img_convert/97ce75683a9b41510768710c7c44115a.png)
![](https://img-blog.csdnimg.cn/img_convert/58fbdb2cb235c748bab2bf380583b927.png)
![](https://img-blog.csdnimg.cn/img_convert/bfb8471832e332db2ac73cc2328be303.png)
按照要求把它复制输入(视频中有说这个)
![](https://img-blog.csdnimg.cn/img_convert/53b52e5a6f190cfdc4b5c58646859169.png)
然后再点击几次webui-user.bat:
![](https://img-blog.csdnimg.cn/img_convert/3fbcf6573bf6b312df7365d917ef848f.png)
最后终于有地址了:将地址复制到浏览器中 http://127.0.0.1:7860/
![](https://img-blog.csdnimg.cn/img_convert/b58076185c667e0a049a2e4152dd2f61.png)
![](https://img-blog.csdnimg.cn/img_convert/53b398cdb3e6b6091204f66aef8297f1.png)
![](https://img-blog.csdnimg.cn/img_convert/6473e3f1ebc9740e4c82246e6bb11c94.png)
现在想安装dreamBoot插件(没实现出来)
需要先更新sd,所以用git pull,结果又出错了:fatal: unable to access 'https://github.com/AUTOMATIC1111/stable-diffusion-webui/': Recv failure: Connection was reset
![](https://img-blog.csdnimg.cn/img_convert/7d4bbcd281334c49bbdc2e9b197cad19.png)
https://www.cnblogs.com/zhangzhixi/p/16791005.html
电脑本来的:
D:\Stable Diffusion\stable-diffusion-webui>git config --global -l
http.sslcainfo=https://github.com/AUTOMATIC1111/stable-diffusion-webui
http.sslverify=false
![](https://img-blog.csdnimg.cn/img_convert/bdd0e5cb1317466557dc9a3a270de328.png)
![](https://img-blog.csdnimg.cn/img_convert/1d078eada6dbed37d7d1854d4e6b8654.png)
但是——我惊奇的发现,
![](https://img-blog.csdnimg.cn/img_convert/2d22cd280444a7ebbca3c56a4bd7eeb4.png)
我打开后:
![](https://img-blog.csdnimg.cn/img_convert/738c41be0abd05424f5a065c8be06f74.png)