本文源自于复制摘抄。
常用网址:
- Python 3.5: https://www.python.org/downloads/
- Wheel文件:http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
参考文章:
- https://www.webucator.com/blog/2015/03/how-to-install-lxml-for-python-3-on-64-bit-windows/
- http://*.com/questions/23944465/installing-lxml-for-python-3-4-on-windows-x-86-32-bit-with-visual-studio-c-2
安装步骤:
- 从Python官网下载Python进行安装:
- 打开http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml去下载lxml的Wheel文件
- 打开CMD
- 进到lxml下载到的文件夹(或者调用命令的时候传给lxml的全路径)运行如下命令:
pip3 install lxml-3.5.0-cp35-none-win32.whl
- 运行pip3安装Scrapy:
pip3 install scrapy
- 大功告成