安装Python MySQL模块
我刚在我的Win7电脑上安装了Python 2.6。现在我想安装mysqldb。但是当我运行“python setup.py install”时
C:\MySQL-python-1.2.3c1>python setup.py install
Traceback (most recent call last):
File "setup.py", line 15, in <module>
metadata, options = get_config()
File "C:\MySQL-python-1.2.3c1\setup_windows.py", line 7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
options['registry_key'])
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden
(System cannot find the given file)
但是我该用哪个文件呢?谢谢你的帮助!