* Rick Pasotto <[EMAIL PROTECTED]> [011226 18:11]: > I just apt-get upgraded my python and the MySQLdb module now > gives the following error: > > Python 2.1.1 (#1, Nov 11 2001, 18:19:24) > [GCC 2.95.4 20011006 (Debian prerelease)] on linux2 > Type "copyright", "credits" or "license" for more information. > >>> from MySQLdb import * > Traceback (most recent call last): > File "<stdin>", line 1, in ? > AttributeError: 'MySQLdb' module has no attribute 'Date' > >>>
Strange, I don't get this error with the packages currently in woody: freefly:9> dpkg -l python2.1 python2.1-mysqldb python2.1-egenix-mxdatetime ii python2.1 2.1.1-7 An interactive object-oriented scripting lan ii python2.1-mysq 0.9.1-3 A Python interface for MySQL No packages found matching python2.1-egenix-mxdatetime. freefly:10> python2.1 Python 2.1.1+ (#1, Dec 30 2001, 17:17:30) [GCC 2.95.4 20011223 (Debian prerelease)] on linux2 Type "copyright", "credits" or "license" for more information. >>> from MySQLdb import * >>> With python2.1-egenix-mxdatetime installed, it works as well. Could you tell me which versions of the package you have installed ? Do you have python2-egenix-mxdatetime installed ? Gregor