Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (18.4k points)
edited by

Trying to pip install a repo's specific branch. Google tells me to

pip install 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.

How to install this branch?

1 Answer

0 votes
by (36.8k points)
edited by

Prepend the URL prefix git+ 

pip install git+https://github.com/tangentlabs/django-oscar-paypal.git@issue/34/oscar-0.6

And specify a branch name without the leading /.

Learn Data Science with Python Course to improve your technical knowledge.

Related questions

0 votes
1 answer
asked Jul 18, 2019 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
0 votes
4 answers

Browse Categories

...