python

How to install a package from a remote zip file using pip

While working on a Django project, I needed to replace one of the existing pysolr package with a forked version on github.

First, I uninstalled the existing package.

$ pip uninstall pysolr

Then, I got the url for the zipball from github and used the following command:

$ pip install https://github.com/anti-social/pysolr/zipball/master

more pip posts

more Python posts