2.0b2 and mxODBC

Mike 'Cat' Perkonigg blablu at gmx.net
Mon Oct 2 09:56:23 EDT 2000


matthias.huening at univie.ac.at (Matthias Huening) wrote in 
<8r9vun$1bsq$1 at www.univie.ac.at>:

>Hi,
>
>I use mxODBC under Win98 with Python 1.5.2 without problems.
>On a new computer (again with Win98) I installed Python 2.0b2, mxDateTime
>and mxODBC, but I get an import-problem.
>
>---------
>Python 2.0b2 (#6, Sep 26 2000, 14:59:21) [MSC 32 bit (Intel)] on win32
>Type "copyright", "credits" or "license" for more information.
>IDLE 0.6 -- press F1 for help
>>>> import ODBC.Windows
>Traceback (innermost last):
>  File "<pyshell#0>", line 1, in ?
>    import ODBC.Windows
>  File "C:\PYTHON20\lib\ODBC\__init__.py", line 21, in ?
>    import DateTime # mxDateTime package must be installed first !
>  File "C:\PYTHON20\lib\DateTime\__init__.py", line 20, in ?
>    from DateTime import *
>  File "C:\PYTHON20\lib\DateTime\DateTime.py", line 8, in ?
>    from mxDateTime import *
>  File "C:\PYTHON20\lib\DateTime\mxDateTime\__init__.py", line 7, in ?
>    from mxDateTime import *
>ImportError: DLL load failed
>---------
>
>Is this a known problem?
>Any suggestions / solutions?

Do you have a mxDateTime package compiled against Python2.0b2? Or did you 
install the old package for 1.5.2?
Btw, greetings from Carinthia :-)

Regards,
Mike



More information about the Python-list mailing list