centos7,Python2.7安装request包
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”
【本文章出自博客园willaty,转载请注明作者出处,误差欢迎指出~】