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

相關文章
相關標籤/搜索