1、安装epel扩展源:“sudo yum install epel-release”
2、安装python-pip:“sudo yum install python-pip”
3、升级pip:“sudo pip install --upgrade pip”
4、安装requests包:“sudo pip install requests”
5、清除cache:“sudo yum clean all”
1、安装epel扩展源:“sudo yum install epel-release”
2、安装python-pip:“sudo yum install python-pip”
3、升级pip:“sudo pip install --upgrade pip”
4、安装requests包:“sudo pip install requests”
5、清除cache:“sudo yum clean all”
转载于:https://www.cnblogs.com/willaty/p/8022207.html