Python pip: “error: Microsoft Visual C++ 14.0 is required”

+1 vote

I am getting the error:

error: Microsoft Visual C++ 14.0 is required

When I try to install pycrypto module using the following command:

pip install pycrypto

How to solve this?

Aug 20, 2019 in Python by Reshma
3,111 views

1 answer to this question.

0 votes

Seems like the setup tools for python aren’t up-to-date. Try upgrading them first and then install pycrypto

pip install --upgrade setuptools
pip install pycrypto
answered Aug 20, 2019 by Kunal
Still getting the same Error after upgrading the tool

Hi, @There,

You need to install the visual c++ build tools. But you can download them here: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Note that while the error is calling for vc++ 14.0 - everything will work with newer versions of visual c++.

Related Questions In Python

0 votes
1 answer

Python argparse error "NameError: name 'file' is not defined"

The right datatype for destination in argpasrse module ...READ MORE

answered Nov 28, 2018 in Python by Omkar
• 69,030 points
5,883 views
0 votes
3 answers

Python error "NameError: name 'sr' is not defined"

NameError: name 'xx' is not defined Python knows ...READ MORE

answered Mar 19 in Python by rahul
• 360 points
26,686 views
0 votes
0 answers

what is a name error in python?

why am i getting a name error ...READ MORE

Mar 7, 2019 in Python by anonymous
437 views
0 votes
1 answer

what is a type error in python?

you get a type error when you ...READ MORE

answered Mar 8, 2019 in Python by Waseem
• 4,540 points
261 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,357 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,800 points
1,007 views
0 votes
11 answers
0 votes
1 answer

Which is better if we compare C vs Python?

It depends on what do you expect ...READ MORE

answered Mar 6, 2019 in Python by SDeb
• 13,250 points
58 views