Install lxml (windows) and python3lxml in python3

Source: Internet
Author: User

Install lxml (windows) and python3lxml in python3

LXML is usually installed for crawlers.

1 pip install lxml

Solution to the following error:

1 lxml Unable to find vcvarsall. bat

1. Install wheel and run the following command:

1 pip install wheel

2. Download the corresponding. whl file here (open the URL and press ctrl + F to search for LXML, select the corresponding version, generally win32, rather than win_arm64, even if the computer is win64)

Http://www.lfd.uci.edu /~ Gohlke/pythonlibs/# lxml

3. Go to the folder where. whl is located-> shift + right-click-> open the command window here

4. Execute the command to complete the installation:

1 pip install lxml-3.6.0-cp35-cp35m-win32.whl

 

XiaoBei District

2016/3/23

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.