When attempting to install the lxml package via pip, Windows 10 users upgrading from Python 2.7 to 3.5 may encounter the error:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
Possible Cause and Solution:
The error arises because the necessary C compiler is not installed. While Visual Studio 2015 may be present, it's crucial to verify that the C compiler is included.
Steps:
This should resolve the Microsoft Visual C 14.0 dependency issue, allowing you to successfully install lxml via pip.
The above is the detailed content of How Do I Fix the \'Microsoft Visual C 14.0 is Required\' Error During Pip Installation?. For more information, please follow other related articles on the PHP Chinese website!