pip install upgrade a new release directly from GitHub - lmmx/devnotes GitHub Wiki

I just had to upgrade scikit-image (to 0.14.2) directly from GitHub (as it conflicts with numpy due to a bug) and eventually figured out this command to do so:

pip install -e git+https://github.com/scikit-image/[email protected]#egg=scikit-image -U
  • The -e flag is probably "external", i.e. you point to a VCS URL
  • Don't forget the -U flag at the end (equivalent to the --upgrade flag)
  • The "egg" term is given as otherwise you get:

    Could not detect requirement name for 'git+https://github.com/scikit-image/scikit-image/archive/v0.14.2.zip', please specify one with #egg=your_package_name

Hat tip to this search result