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 来源:https://www.cnblogs.com/lee-qi/p/12359785.html 标签 repo epel