python

How to update a package using pip

While working on a Django project I needed to update a package from the official repository. Updating a package is just like installing a package; you only need to add the --upgrade flag.

$ pip install django-haystack --upgrade

The snippet above will update the existing django-haystack package to the latest one in the repository.

more pip posts

more Python posts