Error installing python mysql module on windows?

When I try to install mysql on windows, I get this error

MySQL-python-0.9.2>python setup.py build running build running build_py running build_ext building '_mysql' extension error: Unable to find vcvarsall.bat 
+4
source share
1 answer

I think you do not have a visual C ++ compiler installed or a compiler, not in PATH.

If you have mingw32, you can pass the -c mingw32

And mysql-python is available as binary code in windows , you may not need to compile yourself.

UPDATE : OP uses python 2.6, there are no binaries for 1.2.3 in the mysql-python page for windows.

Here is the one I compiled earlier

+5
source

All Articles