Python3.5 installation Scrapy (lxml) on Windows

Source: Internet
Author: User

Common URL:
    1. Python 3.5:https://www.python.org/downloads/
    2. Wheel file: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
Reference article:
    1. https://www.webucator.com/blog/2015/03/how-to-install-lxml-for-python-3-on-64-bit-windows/
    2. Http://stackoverflow.com/questions/23944465/installing-lxml-for-python-3-4-on-windows-x-86-32-bit-with-visual-studio-c-2
Installation steps:
    1. Download python from the Python website to install:

          

    2. Open http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml去下载lxml的Wheel文件
    3. Open cmd
    4. 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
    5. Run PIP3 installation scrapy:
      Install Scrapy
    6. Done
Off Topic:

Waiting for a long time, Scrapy finally support Python3. However, when installing Scrapy on Windows, you encounter various problems:

    1. Error:unable to find Vcvarsall.bat
    2. Can't find "Libxml/xmlversion.h"
    3. < 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.