Menu
[ ← back to blog ]

Commonly used pip commands

A compact pip cheat sheet for everyday Python package management: list, install, inspect, upgrade, and uninstall packages.

pythonpippackage-managementcheat-sheettutorial

pip is a package management system used to install and manage software packages written in Python. Many packages can be found in the default source for packages and their dependencies — Python Package Index (PyPI).

List all installed modules

pip list

Install module of a particular version

pip install [module]==[version]

# For example:
pip install urllib3==1.21.1

Install module

pip install [module]

Show details of a module

pip show [module]

Uninstall a module

pip uninstall [module]

Update a module

pip install --upgrade [module]

References


PW
Paul Wen
Replied just now
Hello! Thanks for reaching out.
I'm currently open to new opportunities. How would you like to connect?