Skip to content

Pip Python Package Manager

List installed packages with pip

pip list

List outdated packages

pip list --outdated

Instal or update package to specific version

exmaple with MySQL_python package:

pip install MySQL_python==1.2.2

Update package to the latest avalable version

exmaple with MySQL_python package:

pip install MySQL_python --upgrade

Update Pip Itself

pip install --upgrade pip

Update All Packages Installed With Pip

pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

Last update: September 3, 2021
Back to top