Problems with cx_Oracle and Oracle 11.1 on Windows

ron.reidy at ron.reidy at
Sat Oct 31 02:37:55 CET 2009


I am trying to use cx_Oracle and SQLAlchemy with Oracle 11gR1 (11.1)
on Windows Vista 64 bit.

When I import cx_Oracle, I get this error:

>>> import cx_Oracle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.

I have a full install of Oracle (not an instant client).  I know in
UNIX, you have to set the LD_LIBRARY_PATH variable, but I am not sure
if there is an equivalent in Windows.

Has anyone else here run into this?  Or, can anyone offer me
suggestions on how to get this import to work correctly?

Thank you so much for any help you can give me.

Ron Reidy

More information about the Python-list mailing list