Best Practice to Fix Python Pip Microsoft Visual C++ 14.0 is required Error – Python Tutorial

By | September 1, 2020

When you are using python 3 pip install command on windows, you may get Microsoft Visual C++ 14.0 is required error. In this tutorial, we will introduce how to fix error easily.

For example, use pip to install netifaces

pip install netifaces

You may get this error:

python pip Microsoft Visual C++ 14.0 is required

How to fix this error?

You can learn how to fix by following our steps.

(1) Download Visual Studio Build Tool

You can download this vs_buildtools.exe file in here:

https://aka.ms/vs/16/release/vs_buildtools.exe

(2) Run vs_buildtools.exe

After running vs_buildtools.exe, you can select visual studio components to install.

(3) Click install C++ build tools

c++ build tool

(4) Select C++ 14.0 to install

Here is an example.

c++ 14.0

Then you can start to install.

After you have installed, Microsoft Visual C++ 14.0 will be installed in your computer.

You can start to use pip install again.

However, if you get LINK : fatal error LNK1158: cannot run ‘rc.exe’ error, you can read this tutorial to fix.

Fix Python Pip Install LINK : fatal error LNK1158: cannot run ‘rc.exe’ Error – Python Tutorial

Leave a Reply