(I'm not sure what to ask here or SU .. but seeing this question on SO, I ask it here ...)
I have a wamp server installation (mysql-5.1.33) on my vista machine and I am trying to install python-mysql 1.2.3c1 to use the mysql version provided by vamp.
At first, when I started python setup.py install, I got an error saying that it was not possible to find the location of the mysql bin folder. Having looked in setup_windows.py, I noticed that he is looking for a registry key, so I added this entry to the registry, and I think he can find it now.
But now, when I start python setup.py install, I get another error saying Unable to find vcvarsall.bat.
Any help on installing this is appreciated.
Here is the result python setup.py install:
running install
running bdist_egg
running egg_info
writing MySQL_python.egg-info\PKG-INFO
writing top-level names to MySQL_python.egg-info\top_level.txt
writing dependency_links to MySQL_python.egg-info\dependency_links.txt
reading manifest file 'MySQL_python.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MySQL_python.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
copying MySQLdb\release.py -> build\lib.win32-2.6\MySQLdb
running build_ext
building '_mysql' extension
error: Unable to find vcvarsall.bat
!