A
A
azatbairamov2015-11-03 23:24:46
MySQL
azatbairamov, 2015-11-03 23:24:46

How to install mysqlclient on python3.4?

Decided to install mysqlclient on python3.4. Downloaded mysqlclient from here: ( https://github.com/PyMySQL/mysqlclient-python )
after python setup.py install command:

...
copying MySQLdb\release.py -> build\lib.win32-3.4\MySQLdb
running build_ext
building '_mysql' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).

How can I fix it? Thanks in advance.
ps windows 8 64

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Klimenko, 2015-11-04
@azatbairamov

a number of things (at least drivers for the database) are easier to install from here www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient

D
Dimonchik, 2015-11-04
@dimonchik2013

in general "Unable to find vcvarsall.bat" is a known error, it's possible to install the free version of Visual Studio
here in the comments link stackoverflow.com/questions/2817869/error-unable-t...
well, here stackoverflow.com/questions/27670365/python -pip-in...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question