close

[Solved] error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”

Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to install cryptography but I am facing following error error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools” in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools” Occurs ?

I am trying to install cryptography but I am facing following error.

building 'Crypto.Random.OSRNG.winrandom' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual
C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

How To Solve error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”?

  1. How To Solve error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”?

    To Solve error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools” You just need to Install Microsoft Visual C++ 14.0. First of all just download Visual C++ 2015 Build Tools from given link. And That will install Visual C++ 14.0 without installing Visual Studio. After you have installed Visual C++, just re-run the command that you are facing this error. In my case I am trying to install cryptography. pip install cryptography And my command execute successfully.

  2. error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”

    To Solve error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools” You just need to Install Microsoft Visual C++ 14.0. First of all just download Visual C++ 2015 Build Tools from given link. And That will install Visual C++ 14.0 without installing Visual Studio. After you have installed Visual C++, just re-run the command that you are facing this error. In my case I am trying to install cryptography. pip install cryptography And my command execute successfully.

Solution 1: Install Microsoft Visual C++ 14.0

You just need to Install Microsoft Visual C++ 14.0. First of all just download Visual C++ 2015 Build Tools from given link. And That will install Visual C++ 14.0 without installing Visual Studio.

After you have installed Visual C++, just re-run the command that you are facing this error. In my case I am trying to install cryptography.

pip install cryptography

And my command execute successfully.

Solution 2: include the Visual C++ build tools in Visual Studio Installer

If You have installed Visual Studio code then

  1. Just Open up the Visual Studio Installer OR just  search for Visual Studio Installer in the Start Menu.
  2. Then Find Visual Studio Build Tools and click “Modify”.
  3. Add a checkmark to Visual C++ build tools and then click “Modify” in the bottom right to install them
  4. After the C++ tools finish installing, run the pip command again and it Must work.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

6 thoughts on “[Solved] error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools””

Leave a Comment