安装主要问题:在windows环境下还不能通过pip install scrapy一键安装完所有的组件
具体的安装步骤
-
命令行下执行 pip install scrapy直到报错
Read time out
-
继续执行pip install scrapy直到错误不是
Read time out
,我这里遇到的报错是Visual C++ tools required;下载安装了了也没成功。所以就只能分别安装别的库。 -
继续安装twisted。到这里下载
- 找到对应的版本下载,如果不支持64位就用32位的。
- 命令行执行pip install C:Users\Download\Twisted-xxxxx-win32.whl
-
安装Scrapy库,到这里下载,安装方法同上。
-
在命令行中输入scrapy不报错则安装成功。
1.png
-
具体Scrapy教程:这里
-
具体Scrapy文档下载:这里
8.参考教程:http://blog.csdn.net/yuanlaijike/article/details/64920917
网友评论