从 git repo 分支安装 pip - pip install from git repo branch

问题:

Trying to pip install a repo's specific branch.尝试pip安装一个 repo 的特定分支。 Google tells me to谷歌告诉我

pip install 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://en.stackoom.com/question/1MLP8
参考二: https://stackoom.com/question/1MLP8
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章