建议直接使用anaconda安装,方便快捷,pip安装会遇到很多问题!!!!http://www.scrapyd.cn/doc/124.html
conda install -c conda-forge scrapy
提速可用:
conda config --add channels ‘https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/‘
conda config --set show_channel_urls yes
如果出现conda更新失败错误,试试这个:http://www.lqkweb.com/conda
上面我失败了,出现这个错误
Anaconda An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent
我改用的:(建议)
conda install scrapy
直接成功:
python爬虫笔记(七)网络爬虫之框架(1)——Scrapy爬虫框架(安装及坑)
原文:https://www.cnblogs.com/douzujun/p/12247448.html