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:
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.