依次执行下列:
1、安装wheel
pip install wheel
2、安装lxml
下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
pip install lxml-x.x.x-cp36-cp36m-win32.whl
3、安装pyopenssl
https://pypi.org/project/pyOpenSSL/#files
pip install pyOpenSSL-x.x.x-py2.py3-none-any.whl
4、twisted
https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted
pip install Twisted-x.x.x-cp36-cp36m-win32.whl
5、pywin32
https://github.com/mhammond/pywin32/releases
对应版本
6、scrapy
pip install scrapy
测试:
安装成功!