這問題不給他根治我感覺不行,今天我折騰了一番
我發(fā)現(xiàn)有時候那個人工智能并不能很好的幫我解決問題,最后我還是根據(jù)錯誤挨個針對性以及分析解決的.

stable-diffusion-webui webui.bat啟動失敗各種問題解決
終端無法訪問代理的設(shè)置
cmd的代理設(shè)置
set http_proxy=http://127.0.0.1:1080 & set https_proxy=http://127.0.0.1:1080
powershell的代理設(shè)置
$Env:http_proxy="http://127.0.0.1:1080";$Env:https_proxy="http://127.0.0.1:1080"
如果依然無法解決
解決window無法ping通google問題
則clash開啟tun mode 安裝service mode(開啟后可能導(dǎo)致qq掉線其它軟件沒網(wǎng)啥的)
wget 使用此方法cmd設(shè)置 下載github數(shù)據(jù)有效 執(zhí)行后可以從終端看到Connecting to 127.0.0.1:1080... connected
wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth -P experiments/pretrained_models
https://eternallybored.org/misc/wget/
解決pip安裝代理問題
設(shè)置鏡像源或者設(shè)置代理
pip config set global.proxy http://127.0.0.1:1080
或者臨時設(shè)置--proxy
pip install xxx --proxy http://127.0.0.1:1080
或者設(shè)置鏡像源
pip config set install.trusted-host pypi.douban.com
或臨時設(shè)置鏡像源
python.exe -m pip install --upgrade pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
git問題
python里面竟然也用到了git,這個時候設(shè)置上面的依然沒啥效果.
OpenSSL SSL_read: Connection was reset, errno 10054問題
git config --global http.sslVerify "false"
': Failed to connect to github.com port 443 after 21069 ms: Timed out
git config --global http.proxy 127.0.0.1:1080
git config --global https.proxy 127.0.0.1:1080
最后如果是python的代理里面設(shè)置,那也是一樣的,代理的設(shè)置,會寫代碼的都會吧..
最后 ,三味藥一起灌下去終于解決了這頭疼的無法訪問到github等一系列問題