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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 mingw32And 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