2010-12-07 9 views
0

をインストールし、私は、Windows 7上でのPython用のMySQLdbモジュールをインストールしたいが、私はのMySQLdbのpythonモジュールに

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> 

答えて

0

This threadエラーは問題があなたは、MySQLクライアントを使用するシステムにインストールされている必要があるということである意味を取得たとえあなたが同じシステム上でサーバを使用していなくても、ライブラリはオンになっています。