当前位置:   article > 正文

国内部署Stable diffusion 无法安装Gfpgan

国内部署Stable diffusion 无法安装Gfpgan
  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. × 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.
  24. │ exit code: 128
  25. ╰─> See above for output.
  26. note: This error originates from a subprocess, and is likely not a problem with pip.
  27. error: subprocess-exited-with-error
  28. × 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.
  29. │ exit code: 128
  30. ╰─> See above for output.
  31. 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 然后报错。

请教有没有大神知道这是咋回事?

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/568184
推荐阅读
相关标签
  

闽ICP备14008679号