2010-12-07 15 views
0

ich möchte MySQLdb Modul für Python auf Windows 7, aber ich erhalte eine Fehlermeldunginstallieren MySQLdb Python-Modul

G:\python\python and mysql\MySQL-python-1.2.3b2\MySQL-python-1.2.3b2>setup.py 
Traceback (most recent call last): 
    File "G:\python\python and mysql\MySQL-python-1.2.3b2\MySQL-python-1.2.3b2\set 
up.py", line 15, in <module> 
    metadata, options = get_config() 
    File "G:\python\python and mysql\MySQL-python-1.2.3b2\MySQL-python-1.2.3b2\set 
up_windows.py", line 7, in get_config 
    serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_ke 
y']) 
WindowsError: [Error 2] 

G:\python\python and mysql\MySQL-python-1.2.3b2\MySQL-python-1.2.3b2> 

Antwort

0

This thread impliziert das Problem installieren ist, dass Sie auf dem System installiert mysql müssen Sie den Client verwenden Bibliotheken aktiviert, auch wenn Sie den Server nicht auf demselben System verwenden.