Error when install 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 buil开发者_如何学Pythond_py
running build_ext
building '_mysql' extension
error: Unable to find vcvarsall.bat
I guess, you don't have visual c++ compiler installed or compiler not in the PATH.
If you have mingw32, you can pass paramter -c mingw32
And mysql-python is available as binary in windows, you may not need to compile yourself.
UPDATE: OP is using python 2.6, no binaries for 1.2.3 in mysql-python page for windows.
Here is the one I have compiled before
精彩评论