Category Archives: Python

Installing Python MySQLDB on Windows Errors

Well after trying to recompile the entire library, i came across this link.

http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python

A plethora of precompile python libraries.  What a great resource.

Up until i found the precompiled libraries i came across a plethora of errors trying to compile MySQLdb.  Errors I’ve gotten:

File setup_windows.py line 7, in get_config serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options[‘registry_key’])

error: Unable to find vcvarsall.bat

 

Hope this helps you as much as it did me.