Python Language pip: PyPI Package Manager Upgrade Packages



$ pip install --upgrade SomePackage 

will upgrade package SomePackage and all its dependencies. Also, pip automatically removes older version of the package before upgrade.

To upgrade pip itself, do

$ pip install --upgrade pip

on Unix or

$ python -m pip install --upgrade pip

on Windows machines.