Etesting

How to install pip

Reference: https://pip.pypa.io/en/stable/installing/

For Centos:

1
2
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

For Ubuntu:
use the same commands as for Centos, or use the following commad:

1
sudo apt-get install python-pip

Verify The Installation:
View a list of helpful commands:

1
pip --help

Check the version of Pip that is installed:

1
pip -V

Which should yield something similar to:

1
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)

热评文章