Error while installing lxml through pip: Microsoft Visual C++ 14.0 is required

Have you checked that when you installed Visual Studio, you installed the C++ compiler? It seems like a silly question, but this is the mistake I made. Check by going into the setup for visual studio (Programs and features: Modify “Visual Studio 2015”), then under Programming Languages->VC++, make sure it’s ticked.

Visual Studio Installer

Leave a Comment