mxDateTime and Python 2.1?
Carsten Gaebler
cg at schlund.de
Thu Apr 19 11:29:48 EDT 2001
Hi there!
I have installed the mx extensions version 2.0.0 with Python 2.1 but
mx.DateTime doesn't seem to work:
Python 2.1 (#3, Apr 19 2001, 14:58:57)
[GCC 2.7.2.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import mx.DateTime
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "mx/DateTime/__init__.py", line 8, in ?
from DateTime import *
File "mx/DateTime/DateTime.py", line 158, in ?
gmt = utc
NameError: name 'utc' is not defined
>>> import mx.DateTime
>>> mx.DateTime.today()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'mx' module has no attribute 'DateTime'
Will I have to wait for the next release? And why does the second import
statement work while the first does not?
Regards
Carsten.
More information about the Python-list
mailing list