baaivision / Painter

Painter & SegGPT Series: Vision Foundation Models from BAAI
MIT License
2.53k stars 176 forks source link

Windows下配置SegGPT环境报错 #41

Open billfjj opened 1 year ago

billfjj commented 1 year ago

当我运行pip install -r requirements.txt时报了一下错误,请问是什么原因 (SegGPT) D:\pythonproject\Painter-main\Painter-main\SegGPT\SegGPT_inference>pip install -r requirements.txt
Collecting git+https://github.com/facebookresearch/detectron2.git (from -r requirements.txt (line 6)) Cloning https://github.com/facebookresearch/detectron2.git to c:\users\pc\appdata\local\temp\pip-req-build-knw03leb Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/detectron2.git 'C:\Users\PC\AppData\Local\Temp\pip-req-build-knw03leb' fatal: unable to access 'https://github.com/facebookresearch/detectron2.git/': Failed to connect to github.com port 443: Timed out error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/facebookresearch/detectron2.git 'C:\Users\PC\AppData\Local\Temp\pip-req-build-knw03leb' 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/facebookresearch/detectron2.git 'C:\Users\PC\AppData\Local\Temp\pip-req-build-knw03leb' 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.

(SegGPT) D:\pythonproject\Painter-main\Painter-main\SegGPT\SegGPT_inference>

CatLoves commented 1 year ago

proxy 问题。配置好 Proxy 就 OK。