最強 AI 繪畫工具——Stable Diffusion超詳細教程

venv "ZR\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug?1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing gfpgan
Traceback (most recent call last):
?File "E:\000-AI\stable-diffusion-webui\launch.py", line 360, in <module>
??prepare_environment()
?File "E:\000-AI\stable-diffusion-webui\launch.py", line 275, in prepare_environment
??run_pip(f"install {gfpgan_package}", "gfpgan")
?File "E:\000-AI\stable-diffusion-webui\launch.py", line 137, 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 "E:\000-AI\stable-diffusion-webui\launch.py", line 105, in run
??raise RuntimeError(message)
RuntimeError: Couldn't install gfpgan.
Command: "E:\000-AI\stable-diffusion-webui\ZR\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\wsp-019.wspbj\appdata\local\temp\pip-req-build-8hy3ut8w
stderr:??Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\wsp-019.WSPBJ\AppData\Local\Temp\pip-req-build-8hy3ut8w'
?fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': Failed to connect to github.com port 443 after 21053 ms: Couldn't connect to server
?error: subprocess-exited-with-error
?git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\wsp-019.WSPBJ\AppData\Local\Temp\pip-req-build-8hy3ut8w' 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\wsp-019.WSPBJ\AppData\Local\Temp\pip-req-build-8hy3ut8w' 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.