- Installing gfpgan
- Traceback (most recent call last):
- File "/Users/fufan/stable-diffusion-webui/launch.py", line 360, in <module>
- prepare_environment()
- File "/Users/fufan/stable-diffusion-webui/launch.py", line 275, in prepare_environment
- run_pip(f"install {gfpgan_package}", "gfpgan")
- File "/Users/fufan/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 "/Users/fufan/stable-diffusion-webui/launch.py", line 105, in run
- raise RuntimeError(message)
- RuntimeError: Couldn't install gfpgan.
- Command: "/opt/homebrew/opt/[email protected]/bin/python3.10" -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 /private/var/folders/x0/rnf2t9196yq9zd715b0w6sbc0000gn/T/pip-req-build-szobu6j7
- stderr: Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/x0/rnf2t9196yq9zd715b0w6sbc0000gn/T/pip-req-build-szobu6j7
- 致命错误:无法访问 'https://github.com/TencentARC/GFPGAN.git/':error:02FFF03C:system library:func(4095):Operation timed out
- 致命错误:无法从承诺者远程获取 fa702eeacff13fe8475b0e102a8b8c37602f3963
- 警告:克隆成功,但是检出失败。
- 您可以通过 'git status' 检查哪些已被检出,然后使用命令
- 'git restore --source=HEAD :/' 重试
- error: subprocess-exited-with-error
-
- × git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/x0/rnf2t9196yq9zd715b0w6sbc0000gn/T/pip-req-build-szobu6j7 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 /private/var/folders/x0/rnf2t9196yq9zd715b0w6sbc0000gn/T/pip-req-build-szobu6j7 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.
我是按照晚上这篇教程来安装的How to install and run Stable Diffusion on Apple Silicon M1/M2 Macs - Stable Diffusion Art
每次进行到cd ~/stable-diffusion-webui;./webui.sh 这一部的时候就会出现卡在install Gfgan 然后报错。
请教有没有大神知道这是咋回事?
评论记录:
回复评论: