1、查看python安装的版本信息。

 

python.exe -c "import distutils.util; print(distutils.util.get_platform())"

windows python3安装scrapy

python

windows python3安装scrapy

2、根据版本下载twisted

下载地址http://fstab.net/pypi/simple/twisted/

windows python3安装scrapy

3、根据版本下载lxml

https://www.lfd.uci.edu/~gohlke/pythonlibs/

windows python3安装scrapy

4、安装twisted和lxml

pip install xxx

windows python3安装scrapy

说明:
(1)如果提示Twisted-16.5.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform
说明需要下载其他版本的Twisted。


5、安装scrapy

pip install scrapy

windows python3安装scrapy

 

相关文章: