[python-win32] Re: Cannot import "pyodbc" module

Roger Upole rwupole at msn.com
Mon Jul 21 10:52:33 CEST 2008


"siddhartha veedaluru" <siddhartha.veedaluru at gmail.com> wrote in message 
news:424b71ec0807210141oa2d1603ob53f715ac9564052 at mail.gmail.com...
> Hi,
>
> Getting the following error while i install the pyodbc module and import 
> it
>
>>>> import pyodbc
> Traceback (most recent call last):
>  File "<pyshell#2>", line 1, in <module>
>    import pyodbc
> ImportError: DLL load failed with error code 193
>
> i have installed win32it pyodbc module in a x64 Win 2003 os already having
> python in it.
> importing the pyodbc module gives the above error.
>
> i couldn't able to get x64 bit version of it.
> hence used 32bit one.
>
> Please help.
>
> Regards,
> siddhartha
>

Modules compiled as 32-bit won't work with 64-bit python.
If there isn't a 64-bit version of pyodbc, you'll need to stick
with 32-bit python (which continues to run well on
64-bit systems).

       Roger



More information about the python-win32 mailing list