1、如果没有epel源下载阿里的epel源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
2、安装pip
yum -y install python-pip
pip install socks pip install pysocks
Linux安装pip命令
原文:https://www.cnblogs.com/lee-qi/p/12359785.html