Python 单线程爬虫1

安装Requests

Windows下:pip install requestspython

Linux下:sudo pip install requests.net

第三方库安装技巧

一、少使用easy_install  由于只能安装不能卸载ip

二、多使用pip方式安装ci

 

若是撞墙  请戳 这里   http://www.lfd.uci.edu/~gohlke/pythonlibs/    有几乎Python第三方库 文件get

 image

进来以后 control+f 进行搜索requests

image 找到这个, 点进去it

image 把whl格式文件下载下来pip

 

image更改后缀名为.zip搜索

image解压技巧

image

image其中下面的文件夹是没用的  用上面的requests 文件夹,将其复制

进入到imageLib文件夹中 把他粘贴进去

OK

相关文章
相关标签/搜索