patternpythongitCritical
pip install from git repo branch
Viewed 0 times
branchinstallrepopipgitfrom
Problem
Trying to
The branch's name is
How do I install this branch?
pip install a repo's specific branch. Google tells me topip install https://github.com/user/repo.git@branchThe 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.How do I install this branch?
Solution
Prepend the url prefix
And specify the branch name without the leading
git+ (See VCS Support):pip install git+https://github.com/tangentlabs/django-oscar-paypal.git@issue/34/oscar-0.6And specify the branch name without the leading
/.Code Snippets
pip install git+https://github.com/tangentlabs/django-oscar-paypal.git@issue/34/oscar-0.6Context
Stack Overflow Q#20101834, score: 1643
Revisions (0)
No revisions yet.