0 votes
1 view
in Devops and Agile by (28.1k 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 (48k 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

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


Categories

...