Do this: import sys print sys.path
Then paste result Thanks On Mon, Aug 22, 2011 at 2:44 PM, hg <hgo...@gmail.com> wrote: > Hi All, > Thanks for taking the time to respond to my question. > Cal: I did try uninstalling and re-installing. > Kejun: Yes, it's installed. > > > On Aug 22, 11:18 am, Kejun He <printer...@gmail.com> wrote: > > Did you install python-mysqldb in your mechine?? > > > > On Mon, Aug 22, 2011 at 3:45 PM, Cal Leeming [Simplicity Media Ltd] < > > > > cal.leem...@simplicitymedialtd.co.uk> wrote: > > > Hold on, i would say this is a django-related question (albeit not > related > > > to a problem within django). OP - try removing and reinstalling mysqldb > on > > > your python install and/or env. > > > On Aug 21, 2011 2:20 PM, "Ramiro Morales" <cra...@gmail.com> wrote: > > > > 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. > > > > > -- > > > 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. > > -- > 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. > > -- 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.