请问各位,不知道该怎么办,不是很懂编程,想玩一手AI绘图,看到卡在installing clip界面很久了,如图显示以下代码
请问如何解决,感激不尽
Installing clip
Traceback (most recent call last):
File "G:\AI\stable-diffusion-webui\launch.py", line 355, in
prepare_environment()
File "G:\AI\stable-diffusion-webui\launch.py", line 266, in prepare_environment
run_pip(f"install {clip_package}", "clip")
File "G:\AI\stable-diffusion-webui\launch.py", line 129, 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 "G:\AI\stable-diffusion-webui\launch.py", line 97, in run
raise RuntimeError(message)
RuntimeError: Couldn't install clip.
Command: "G:\AI\stable-diffusion-webui\dddddcy\Scripts\python.exe" -m pip install git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Cloning https://github.com/openai/CLIP.git (to revision d50d76daa670286dd6cacf3bcd80b5e4823fc8e1) to c:\users\ddddd\appdata\local\temp\pip-req-build-7ffm8wl4
stderr: Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git 'C:\Users\ddddd\AppData\Local\Temp\pip-req-build-7ffm8wl4'
fatal: unable to access 'https://github.com/openai/CLIP.git/': Recv failure: Connection was reset
error: subprocess-exited-with-error
git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git 'C:\Users\ddddd\AppData\Local\Temp\pip-req-build-7ffm8wl4' 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/openai/CLIP.git 'C:\Users\ddddd\AppData\Local\Temp\pip-req-build-7ffm8wl4' 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.
[notice] A new release of pip available: 22.2.2 -> 23.0.1
[notice] To update, run: G:\AI\stable-diffusion-webui\dddddcy\Scripts\python.exe -m pip install --upgrade pip
试一试pip install clip
最好在安装之前换一个国内的pip源