Pip is a package man­age­ment system for Python. We recommend the use of Pip, as it is the of­fi­cial­ly rec­og­nized tool for in­stalling Python packages, according to the official Python Software Foun­da­tion. Learn how to install and use Pip on Ubuntu 16.04 and CentOS 7 Cloud Servers.

Re­quire­ments

  • A Cloud Server with Ubuntu 16.04 or CentOS 7, and Python installed.
Free Cloud Server Trial
En­ter­prise-grade virtual private servers
  • KVM based dev servers for de­vel­op­ers
  • Scalable to en­ter­prise cloud level
  • Pay-as-you-go, per-minute billing
Note

Python is installed and running on a Standard Linux in­stal­la­tion by default. If your server was created with a Minimal in­stal­la­tion, you will need to install and configure Python before you proceed.

Install Pip on CentOS 7

Update the package list:

sudo yum update

Install the EPEL repos­i­to­ry:

sudo yum install epel-release

Install Pip:

sudo yum install python-pip

Then install the wheel package:

sudo yum install python-wheel

Using Pip

Use install to use Pip to install a Python package:

pip install example-package

Use upgrade to upgrade an installed Python package:

pip upgrade example-package

Use uninstall to remove an installed Python package:

pip uninstall example-package

Use show to get in­for­ma­tion about an installed Python package, including its location and included files:

pip show example-package
Go to Main Menu