requests 安装

requests 是用来发送 HTTP 请求的一个库,requests 是对 urllib 和 urllib2 进行封装的一个模块,用来取代 urllib 和 urllib2,可以使用以下两种方法安装 requests

[root@localhost ~]$ pip3.6 install requests    
[root@localhost ~]$ yum install -y epel-release
[root@localhost ~]$ yum install -y python-requests

 

 

 

 

 

 

 

    

posted @ 2019-03-14 16:28  孔雀东南飞  阅读(210)  评论(0编辑  收藏  举报