Install package with pip from specific branch of github
This is what I do:
pip install git+https...@my_branch
While this works perfectly in my local machine, when I try to w Windows Remote machine and to my Ubuntu Vagrant box it doesnt work.
Instead of installing the package with my_branch, it installs the master branch. Initially I thought it was related with an outdated version of pip but after upgrading to the latest version, I keep facing the same issue.
Any ideas whats the problem?
2 Solutions collect form web for “Install package with pip from specific branch of github”
Maybe some characters like the @ character are not recognized properly in your command in other environments? Try putting quotes, like this: pip install “git+https…@my_branch”
Suppose you have forked some git repo and made some changes.
To install this specific branch:
- Release a new version from your branch and add a version tag, like
pip install -e git+https://email@example.com#egg=repo_name
in the terminal