pip install from git repo branch


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

pip install 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 its returning a 404.

How do I install this branch?


Prepend the url prefix git+ (See VCS Support):

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

And specify the branch name without the leading /.

Source: StackOverflow.com

Leave a Reply

Your email address will not be published. Required fields are marked *