On Fri, Dec 4, 2009 at 6:16 AM, Peter <[email protected]> wrote: > Hi, > > I've installed django on an XP box and am trying to work through the > tutorial. > > I got django from svn using the url from the django site: > > http://code.djangoproject.com/svn/django/trunk > > All is well until I try to do syncdb, at which point I get an error > message: > > Error loading MySQLdb module: DLL load failed: The specified module > could not be found > > I get the same if I try to import the module from the python prompt, > as well. > > Something is broken with your MySQLdb install. Until you can import MySQLdb from a Python command prompt, Django isn't going to be able to use it.
You need to find/build a working MySQLdb for Python 2.6. I vaguely remember that when Python 2.6 first came out someone posted an executable installer for MySQLdb for Windows for it, but that version only worked if you had a certain compiler runtime installed. Later on someone posted one that worked without that requirement. Unfortunately I don't remember where I got a working version. You might have better luck on a more general Python list, or a MySQLdb-specific forum. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

