On Sun, Aug 21, 2011 at 5:08 AM, Hadassa Golovenshitz <hgo...@gmail.com> wrote: > > > Hi everyone, > > Thank you for taking the time to look at my question. > > > > I’m setting up a django project that I got from a code repository, and in > trying to run ./manage.py syncdb I get the following error: > > > > django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: > this is MySQLdb version (1, 2, 3, 'final', 0), but _mysql is version (1, 2, > 2, 'final', 0).
Seems you mysqldb (the Python DB-API 2.0 compatible library to access MySQL databases) installation is borked. mysqldb is composed of two layers: _mysql is a low level one, a more or less thin wrapper over the C mysql client libraries. On top of that there is mysldb itself, that uses the services of _mysql and implemets the DB-API specification. You seem to have a a corrupt copy because both pieces are released together, and when a correct installation has been performed, they are built and installed together with matching version IDs. You might find better answers in a mailing list or IRC channel devoted to mysqldb. This isn't a Django -related or -specific issue. Regards, -- Ramiro Morales -- 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.