Common URL:
- Python 3.5:https://www.python.org/downloads/
- Wheel file: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
Reference article:
- https://www.webucator.com/blog/2015/03/how-to-install-lxml-for-python-3-on-64-bit-windows/
- Http://stackoverflow.com/questions/23944465/installing-lxml-for-python-3-4-on-windows-x-86-32-bit-with-visual-studio-c-2
Installation steps:
- Download python from the Python website to install:
- Open http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml去下载lxml的Wheel文件
- Open cmd
- Run the following command into the folder that lxml downloaded to (or to the full path to lxml when invoking the command):
Install lxml-3.5. 0-CP35-NONE-WIN32.WHL
- Run PIP3 installation scrapy:
Install Scrapy
- Done
Off Topic:
Waiting for a long time, Scrapy finally support Python3. However, when installing Scrapy on Windows, you encounter various problems:
- Error:unable to find Vcvarsall.bat
- Can't find "Libxml/xmlversion.h"
- < A variety of questions can refer to the second link above, but the various methods have been tried or there is such a problem;
Finally found a more convenient method on the https://www.webucator.com/blog/2015/03/how-to-install-lxml-for-python-3-on-64-bit-windows/, Install lxml using wheel, and the problem is easily solved.
Python3.5 installation Scrapy (lxml) on Windows