最强 AI 绘画工具——Stable Diffusion超详细教程

venv "fanqie\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: <none>
Installing gfpgan
Traceback (most recent call last):
File "D:\stable-diffusion-webui\launch.py", line 360, in <module>
prepare_environment()
File "D:\stable-diffusion-webui\launch.py", line 275, in prepare_environment
run_pip(f"install {gfpgan_package}", "gfpgan")
File "D:\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 "D:\stable-diffusion-webui\launch.py", line 105, in run
raise RuntimeError(message)
RuntimeError: Couldn't install gfpgan.
Command: "D:\stable-diffusion-webui\fanqie\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\administrator\appdata\local\temp\pip-req-build-402cfi88
stderr: ERROR: Error [WinError 2] ϵͳҲָļ while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
大佬,请教一下这个是怎么回事啊?