Re: MySQLdb AttributeError Problem

2001-07-16 Thread John Hopkins
Thanks for the replies. I ended up de-installing everything (Python, MySQL, etc.) and re-installing. It works now, so I suspect the problem was that I had failed to re-install mxDateTime, a documented requirement for MySQLdb. Sorry to bother the lists for a boneheaded error ... John

Re: MySQLdb AttributeError Problem

2001-07-16 Thread Paul Prescod
John, this sounds to me like what happens when you have a file called "MySQLDb.py" or "MySQLDb.pyc" hanging around other than the one you expect. Here's what I would do to diagnose (replace string with MySQLdb): >>> import string >>> dir(string) [] >>> string.__file__ 'c:\\python20\\lib\\stri