Pip is a package manager.
Use pip to manage Python packages from PyPI.
- Command line options have precedence over
- the environment variables, which have precedence over
- the config file.
apt-get install -y python-pip
python -m pip --help
Pip is included with Python >=3.4 and >=2.7.9.
python -m pip install --upgrade pip setuptools wheel
- from Linux package manager after having added EPEL for CentOS/RHEL. More, see Installing pip/setuptools/wheel with Linux Package Managers
sudo yum install python-pip
pip show SomePackage #Detail about a package pip show --files SomePackage
pip show numpy
--- Name: numpy Version: 1.9.2 Location: c:\python27\lib\site-packages Requires:
pip list # to list installed package pip list --outdated #outdated package
numpy (1.9.2) pip (1.5.6) setuptools (7.0)
pip install --upgrade SomePackage
pip uninstall SomePackage
pip search "query"