Installing Python-mysql With Wamp's Mysql
Solution 1:
The reason is msvc9compiler.py in Python26\Lib\distutils don't analyse VC version properly. You can check find_vcvarsall(version) in msvc9compiler.py yourself: it always turns version = 9, means VC9(2008) will work, but never VC8(2005). The awkward way to compile something using setup.py with VC8 is make version = 8 manually in the function above, after build and install recover it to old.
Solution 2:
You can use a precompiled binary available at sourceforge page of mysql-python. The version 1.2.2 has the binary installer for python2.4 and python2.5
If you are searching for python2.6 binaries, find it here - http://www.codegood.com/archives/4
Solution 3:
It is looking for the Microsoft Visual Studio compiler to take care of some (presumably) C libraries.
You need to install Visual Studio, or perhaps MINGW.
Post a Comment for "Installing Python-mysql With Wamp's Mysql"