Pip
Jump to navigation
Jump to search
External
Internal
Overview
pip
is the standard package manager for Python, that allows you install and manage package that are not part of the Python standard library. pip
has been included with the Python installer since 3.4. pip
looks for packages in PyPI
Installation
CentOS
yum install epel-release # On Amazon Linux, it works without this yum install python-pip
Upgrade
python -m pip install --upgrade pip
Version
pip --version
Operations
List Packages Installed in Environment
pip list
Install a Package
pip install <package-name>
The command always looks for the latest version of the package and installs it. It also looks for dependencies listed in the package metadata and installs those dependencies as well.