Home > Backend Development > Python Tutorial > Why Does pip Fail to Install lxml: Missing Microsoft Visual C 14.0?

Why Does pip Fail to Install lxml: Missing Microsoft Visual C 14.0?

DDD
Release: 2024-11-23 21:13:12
Original
851 people have browsed it

Why Does pip Fail to Install lxml: Missing Microsoft Visual C   14.0?

Error Installing lxml via pip: Microsoft Visual C 14.0 Not Found

When encountering the error "Microsoft Visual C 14.0 is required" while installing lxml using pip, an important step is to ensure that you have installed Visual Studio with the C compiler.

Initially, the error may lead you to install Visual C Build Tools, but this may not resolve the issue if the C compiler is not enabled within the Visual Studio installation. To verify this, navigate to "Programs and Features" in Control Panel and locate Visual Studio 2015.

Select "Modify" and go to the "Programming Languages" tab. Under "VC ," confirm that the checkbox is ticked for the C compiler. If it is not, the C compiler was not installed with Visual Studio.

By ensuring that the C compiler is installed and enabled within Visual Studio, you can resolve the error and proceed with the lxml installation through pip.

The above is the detailed content of Why Does pip Fail to Install lxml: Missing Microsoft Visual C 14.0?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template