Dependency management in Python?

Thomas Bach thbach at students.uni-mainz.de
Sat Jan 12 07:43:28 EST 2013


On Fri, Jan 11, 2013 at 06:42:18PM -0800, Adelbert Chang wrote:
> Another question - how do we then get PIP to the latest version? Or
> is it relatively easy to uninstall/reinstall PIP?

Simply do a 

$ pip install -U distribute
$ pip install -U pip

from time to time in your virtual environment.

As a side note: some versions of distribute, pip and virtualenv do
interact rather poorly on Python 3. Upgrading via easy_install:

$ easy_install -U distribute
$ easy_install -U pip

usually solves these issues.

Have fun!

     Thomas



More information about the Python-list mailing list