最近配环境真的是配的我头昏脑涨,这不,装个cocoapi
都能扯出这么多事。
命令:sudo pip3 install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"
提示:
1 2 3 4 5 6 7 8 |
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI Cloning https://github.com/cocodataset/cocoapi.git to /tmp/pip-req-build-b5g9zq4e error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Command "git clone -q https://github.com/cocodataset/cocoapi.git /tmp/pip-req-build-b5g9zq4e" failed with error code 128 in None |
解决:sudo pip3 install "git+https://gitee.com/wsyin/cocoapi.git#subdirectory=PythonAPI"
本文最后更新于2020年10月29日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!