As the error message already says: Your missing the MySQLdb module. Depending on your system you should be looking for something like a py26-mysql or python-mysql package or install it manually yourself :-)
-- Horst On Sat, Feb 28, 2009 at 3:23 PM, ches <vladislav.vladimi...@gmail.com> wrote: > Dear All, > I have install Python2.6,Django 1.0.2, I'm sure it is installed > ok,since there is no errors on "import django" from the > interpreter,however when executing syncdb, I got: > > C:\Django\projects\documenti>manage.py syncdb > Traceback (most recent call last): > File "C:\Django\projects\documenti\manage.py", line 11, in <module> > execute_manager(settings) > File "C:\Python26\lib\site-packages\django\core\management > \__init__.py", line > 340, in execute_manager > utility.execute() > File "C:\Python26\lib\site-packages\django\core\management > \__init__.py", line > 295, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "C:\Python26\lib\site-packages\django\core\management\base.py", > line 192, > in run_from_argv > self.execute(*args, **options.__dict__) > File "C:\Python26\lib\site-packages\django\core\management\base.py", > line 218, > in execute > self.validate() > File "C:\Python26\lib\site-packages\django\core\management\base.py", > line 246, > in validate > num_errors = get_validation_errors(s, app) > File "C:\Python26\lib\site-packages\django\core\management > \validation.py", lin > e 22, in get_validation_errors > from django.db import models, connection > File "C:\Python26\lib\site-packages\django\db\__init__.py", line 16, > in <modul > e> > backend = __import__('%s%s.base' % (_import_path, > settings.DATABASE_ENGINE), > {}, {}, ['']) > File "C:\Python26\lib\site-packages\django\db\backends\mysql > \base.py", line 13 > , in <module> > raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) > django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb > module: No mo > dule named MySQLdb > > Do you have an idea? > > Kind Regards, > ches > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---