报错主因:git clone失败
尝试从github上下载.zip包,然后本地安装失败,似乎是由于不能验证hash
在git bash中尝试,提示Connection was reset, errno 10054
解决方法:
Git提示Connection was reset, errno 10054解决方法_天涯各一方&的博客-CSDN博客
ROOT_PATH\stable-diffusion-webui-master>webui-user.bat
venv "ROOT_PATH\stable-diffusion-webui-master\venv\Scripts\Python.exe"
Python 3.10.10 | packaged by Anaconda, Inc. | (main, Mar 21 2023, 18:39:17) [MSC v.1916 64 bit (AMD64)]
Commit hash: <none>
Installing gfpgan
Traceback (most recent call last):
File "ROOT_PATH\stable-diffusion-webui-master\launch.py", line 355, in <module>
prepare_environment()
File "ROOT_PATH\stable-diffusion-webui-master\launch.py", line 263, in prepare_environment
run_pip(f"install {gfpgan_package}", "gfpgan")
File "ROOT_PATH\stable-diffusion-webui-master\launch.py", line 129, in run_pip
return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
File "ROOT_PATH\stable-diffusion-webui-master\launch.py", line 97, in run
raise RuntimeError(message)
RuntimeError: Couldn't install gfpgan.
Command: "ROOT_PATH\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to c:\users\49304\appdata\local\temp\pip-req-build-u0nayio1
stderr: Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\49304\AppData\Local\Temp\pip-req-build-u0nayio1'
fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': OpenSSL SSL_read: Connection was reset, errno 10054
error: subprocess-exited-with-error
git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\49304\AppData\Local\Temp\pip-req-build-u0nayio1' did not run successfully.
exit code: 128
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\49304\AppData\Local\Temp\pip-req-build-u0nayio1' did not run successfully.
exit code: 128
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip available: 22.3.1 -> 23.1
[notice] To update, run: G:\\ҵĿ\diffusion model\stable-diffusion-webui-master\venv\Scripts\python.exe -m pip install --upgrade pip
请按任意键继续. . .