Search code examples
pythongitpipchalice

How to install a pip module from its master branch on github?


I've started using the Python Chalice framework and I found out I need a bugfix that was merged less than 24 hours ago into the framework's master branch, through this PR:

https://github.com/aws/chalice/pull/1116

My experience with Python modules is limited to typing pip install and watching the magic happen. How can I install Chalice straight off GitHub's master branch instead?


Solution

  • Pip conveniently has built-in Git support.

    pip install git+https://github.com/user_name/repo_name