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!