问题1:fatal: remote error:The unauthenticated git protocol on port 9418 is no longer supported.
fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
WARNING: Discarding git+git://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI. Command errored out with exit status 128: git clone -q git://github.com/cocodataset/cocoapi.git /tmp/pip-req-build-f7rp3qa9 Check the logs for full command output.
ERROR: Command errored out with exit status 128: git clone -q git://github.com/cocodataset/cocoapi.git /tmp/pip-req-build-f7rp3qa9 Check the logs for full command output.
解决方法:
执行以下指令:
git config --global url."https://github.com/".insteadOf git://github.com/
参考链接: