Error Microsoft Visual C 14 0 is required Unable to find vcvarsall bat

0 votes

I've installed Python 3.5 and while running

pip install mysql-python

it gives me the following error

error: Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)

I have added the following lines to my Path

C:\Program Files\Python 3.5\Scripts\;
C:\Program Files\Python 3.5\;

C:\Windows\System32;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC;
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC

On my computer, I'm running Windows 7 64-bit.

What is the best way to avoid this mistake and accurately install the modules using pip?

Jun 14 in C++ by Nicholas
• 2,460 points
7 views

1 answer to this question.

0 votes

For pip, use the binary-only option. 

For instance, in the case of mysqlclient:

pip install --only-binary :all: mysqlclient

Because many packages don't produce builds for every release, your pip will have to build from source. 

Use —only-binary:all: to allow pip to use an earlier binary version if you don't mind using the most recent pre-compiled binary version.

answered Jun 14 by Damon
• 3,580 points

Related Questions In C++

0 votes
0 answers

What is the C++ function to raise a number to a power?

What's the best way to raise a n ...READ MORE

Jun 1 in C++ by Nicholas
• 2,460 points
17 views
0 votes
0 answers

Is there an easy way to make a min heap in C++?

I'm new to C++ and was wondering ...READ MORE

1 day ago in C++ by Nicholas
• 2,460 points
5 views
0 votes
0 answers

Why is Turbo C++ showing this error in DOSBox on my Mac?

I'm not sure why it couldn't recognis ...READ MORE

18 hours ago in C++ by Nicholas
• 2,460 points
2 views
0 votes
1 answer

What data structure is inside std::map in C++?

An associative container is std::map. The standard's ...READ MORE

answered May 31 in C++ by Damon
• 3,580 points
19 views
0 votes
1 answer

Crawling after login in Python

You missed a few login data forms, ...READ MORE

answered Sep 7, 2018 in Python by Priyaj
• 58,080 points
1,059 views
0 votes
1 answer

Crawling after login in Python

You missed a few login data forms, ...READ MORE

answered Sep 14, 2018 in Python by Priyaj
• 58,080 points
316 views
0 votes
1 answer

“stub” __objclass__ in a Python class how to implement it?

You want to avoid interfering with this ...READ MORE

answered Sep 27, 2018 in Python by Priyaj
• 58,080 points
723 views
+1 vote
1 answer

How is raw_input() and input() in python3.x?

raw_input() was renamed to input() so now input() returns the exact string ...READ MORE

answered Oct 30, 2018 in Python by Priyaj
• 58,080 points
381 views
0 votes
1 answer

What is the best way to use a HashMap in C++?

The ordered and unordered map containers (std::map and std::unordered map) are included in the standard library.  The items in an ordered map are sorted by key, and insert and access are in O (log n).  For ordered maps, the standard library often use red black trees.  However, this is only an implementation detail.  Insert and access are in O in an unordered map (1).  It is simply another term for a hashtable. An illustration using (ordered) std::map: #include <map> #include <iostream> #include <cassert> int main(int argc, char ...READ MORE

answered Jun 10 in C++ by Damon
• 3,580 points
20 views
0 votes
1 answer

Where are the Microsoft Visual C++ 2015-2022 Redistributable (x64) packages installed?

They are, in my opinion, at their best. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC It's worth noting ...READ MORE

answered Jun 15 in C++ by Damon
• 3,580 points
18 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP