testing mx.DateTime fails on import (Py 2.1.1)
M.-A. Lemburg
mal at lemburg.com
Thu Dec 20 17:12:12 EST 2001
wtr wrote:
>
> C:\Python21>testDT.py
> Traceback (most recent call last):
> File "C:\Python21\testDT.py", line 3, in ?
> from mx.DateTime import *
> <-------my import
> File "C:\Python21\mx\DateTime\__init__.py", line 40, in ?
> class modinit:
> File "C:\Python21\mx\DateTime\__init__.py", line 50, in modinit
> _DT)
> File "C:\Python22\lib\copy_reg.py", line 16, in pickle
> raise TypeError("copy_reg is not intended for use with classes")
> TypeError: copy_reg is not intended for use with classes
> -------------------------------------------------------------------
>
> The directory structure is C:\Python21\mx\DateTime\mxDateTime,
> which was generated at installation of the mx package.
>
> Can anybody help?
Try upgrading to the lastest version. It supports Python 2.2.
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/
More information about the Python-list
mailing list