Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k points)

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

pip install git https://github.com/user/[email protected]

The branch's name is issue/34/oscar-0.6 so I did 

pip install https://github.com/tangentlabs/[email protected]/issue/34/oscar-0.6 

but it's returning an error 404.

How do I install this branch?

1 Answer

0 votes
by (50.2k points)

For installation you need to prepend the url prefix:

pip install git+https://github.com/tangentlabs/[email protected]/34/oscar-0.6

Note: specify the branch name without ’/’.

Reference: https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...