Skip to content

using pip

Use pip list to list installed packages.

Use pip list --outdated --format=freeze to list outdated installed packages using the freeze list format.

explanation

Use sudo -H pip install --upgrade pip to upgrade pip to the newest version.

Note

  • foobar represents the name of a package.

Use sudo -H pip install --upgrade foobar to upgrade an installed package to the newest version.

explanation

The --upgrade option upgrades the package to the newest version.

Use sudo -H pip uninstall foobar to uninstall a package.

Use sudo -H pip uninstall pip to uninstall pip.

licensing

No rights reserved: CC0 1.0.

prior work


  1. http://staticbackup.readthedocs.com/pip/rtd-builds/latest/usage.html#id11