pip install git+https://github.com/... download problem

Encountered the following situation directly combined with the download and installation of github:

pip install git+https://github.com/votchallenge/vot-toolkit-python

in no otherReasonableIn this case, the following operations can be used for normal installation:

  1. Replace the above code with:

pip install git+git://github.com/votchallenge/vot-toolkit-python

about tohttpsreplace withgit

  1. After the code is replaced, the following problems may occur:

fatal: unable to connect to github.com: github.com[0: 20.205.243.166]: errno=Unknown error

If you encounter the above error, enter on the command line:

git config --global url.“https://github.com”.insteadOf git://github.com

can be solved

  1. If the download still cannot continue after completing the above two steps, then further modify the command to the following form:

pip install git+git://github.com/votchallenge/vot-toolkit-python -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

That is, add a temporary change source command to the original command

Guess you like

Origin blog.csdn.net/weixin_44409833/article/details/130321986