从git repo分支安装pip

泄露秘密 提交于 2020-08-19 22:30:58

问题:

Trying to pip install a repo's specific branch. 试图pip安装回购协议的特定分支。 Google tells me to Google告诉我

pip install git+ https://github.com/user/repo.git@branch 点安装git + https://github.com/user/repo.git@branch

The branch's name is issue/34/oscar-0.6 so I did pip install https://github.com/tangentlabs/django-oscar-paypal.git@/issue/34/oscar-0.6 but its returning a 404. 分支的名称是issue/34/oscar-0.6所以我确实pip install https://github.com/tangentlabs/django-oscar-paypal.git@/issue/34/oscar-0.6但返回了404。

How do I install this branch? 如何安装此分支?


解决方案:

参考一: https://stackoom.com/question/1MLP8/从git-repo分支安装pip
参考二: https://oldbug.net/q/1MLP8/pip-install-from-git-repo-branch
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!