- 安装pip:
使用yum进行安装
yum install python-pip
- 1
若出现
No package python-pip available.
则解决方法如下:
- yum -y install epel-release
- yum install python-pip
- 1
- 2
- 3
安装完成后清理
yum clean all
- 1
12.pip验证
- # pip -V
- pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)