Exceptions:No module named MySQLdb


Traceback (most recent call last):
  File "D:\Python25\Scripts\newtest\manage.py", line 11, in module>
    execute_manager(settings)
  File "D:\Python25\Lib\site-packages\django\core\management.py", line 1672, in
execute_manager
    execute_from_command_line(action_mapping, argv)
  File "D:\Python25\Lib\site-packages\django\core\management.py", line 1571, in
execute_from_command_line
    action_mapping[action](int(options.verbosity), options.interactive)
  File "D:\Python25\Lib\site-packages\django\core\management.py", line 486, in s
yncdb
    from django.db import connection, transaction, models, get_creation_module
  File "D:\Python25\Lib\site-packages\django\db\__init__.py", line 11, in modul
e>
    backend = __import__('django.db.backends.%s.base' % settings.DATABASE_ENGINE
, {}, {}, [''])
  File "D:\Python25\Lib\site-packages\django\db\backends\mysql\base.py", line 12
, in module>
    raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb
产生该错误的原因是没有安装python对mysql的链接库
MySQL-python-1.2.2.win32-py2.5.exe
对应python的版本,我这里安装的是python2.5