2010-12-07 8 views
0

je veux installer le module MySQLdb pour Python sous Windows 7, mais je reçois une erreurReposer le module python MySQLdb

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> 

Répondre

0

This thread implique le problème est que vous avez besoin MySQL installé sur le système que vous souhaitez utiliser le client bibliothèques, même si vous n'utilisez pas le serveur sur le même système.

Questions connexes