[root@ network-scripts]# pip -V
-bash: pip: command not found
[root@ network-scripts]# yum -y install epel-release
[root@ network-scripts]# yum install python-pip
[root@ network-scripts]# pip install --upgrade pip
至此,pip安裝好了,執行pip -V 再次檢查pip環境。python
[root@ network-scripts]# pip -V pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)