一、本人电脑win7-64位,python版本3.7
二、安装过程
- 安装wheel;安装方式:pip install wheel
- 安装Twisted,因为Scrapy基于Twisted;安装方式如下:(1)打开网址:https://www.lfd.uci.edu/~gohlke/pythonlibs/ (2)搜索Twisted,按照你安装的python版本及电脑位数选择可用的whl。如我的是64位,python版本3.7,则选择下图的.whl下载
下载后,将其放到一个便于查找的位置,如我放在了python的安装目录下(C:\Users\Administrator\AppData\Local\Programs\Python\Python37\)
然后 pip install 【.whl文件所在位置】 ;如 pip install C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Twisted-19.2.1-cp37-cp37m-win_amd64.whl