最可能的答案是安装mysql developer build并在配置期间选择“c headers\libs”选项。(如本文所述:在rationalpie.wordpress.com上的windows上构建mysqldb for python)
也许更好的解决方案是安装预编译的构建: http://www.technicalbard.com/files/MySQL-python-1.2.2.win32-py2.6.exe