国内部署Stable diffusion 无法安装Gfpgan

[复制链接]
查看823 | 回复0 | 2023-8-12 23:27:31 | 显示全部楼层 |阅读模式
  1. Installing gfpgan
  2. Traceback (most recent call last):
  3.   File "/Users/fufan/stable-diffusion-webui/launch.py", line 360, in <module>
  4.     prepare_environment()
  5.   File "/Users/fufan/stable-diffusion-webui/launch.py", line 275, in prepare_environment
  6.     run_pip(f"install {gfpgan_package}", "gfpgan")
  7.   File "/Users/fufan/stable-diffusion-webui/launch.py", line 137, in run_pip
  8.     return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
  9.   File "/Users/fufan/stable-diffusion-webui/launch.py", line 105, in run
  10.     raise RuntimeError(message)
  11. RuntimeError: Couldn't install gfpgan.
  12. Command: "/opt/homebrew/opt/python@3.10/bin/python3.10" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
  13. Error code: 1
  14. stdout: Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
  15.   Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to /private/var/folders/x0/rnf2t9196yq9zd715b0w6sbc0000gn/T/pip-req-build-szobu6j7
  16. 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
  17.   致命错误:无法访问 'https://github.com/TencentARC/GFPGAN.git/':error:02FFF03C:system library:func(4095):Operation timed out
  18.   致命错误:无法从承诺者远程获取 fa702eeacff13fe8475b0e102a8b8c37602f3963
  19.   警告:克隆成功,但是检出失败。
  20.   您可以通过 'git status' 检查哪些已被检出,然后使用命令
  21.   'git restore --source=HEAD :/' 重试
  22.   error: subprocess-exited-with-error
  23.   
  24.   × 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.
  25.   │ exit code: 128
  26.   ╰─> See above for output.
  27.   
  28.   note: This error originates from a subprocess, and is likely not a problem with pip.
  29. error: subprocess-exited-with-error
  30. × 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.
  31. │ exit code: 128
  32. ╰─> See above for output.
  33. 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 然后报错。
请教有没有大神知道这是咋回事?

来源:https://blog.csdn.net/brianfufan123/article/details/129315234
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则