cx_Oracle 5.0.4 + Python 3.1.2 + Oracle Instant Client 10.2.04; DLL Load failed on import (Win/NT)

Alexander Gattin xrgtn at yandex.ru
Thu Aug 12 06:30:03 EDT 2010


Hello,

On Wed, Aug 11, 2010 at 02:29:24PM -0700, tormod wrote:
> I've tried countless times to build & install cx_Oracle on Python
> 3.1.2, and failed every time, so I'd like to ask someone for help.
...
> I've opened the cx_Oracle.pyd with Dependency Walker (http://
> www.dependencywalker.com/) and DW reports it can't find: OCI.DLL,
> PYTHON31.DLL, MSVCR90.DLL (why?)

Does Windows have anything like
LD_LIBRARY_PATH/SHLIB_PATH?

> Appreciate any help, even wildshots and 2 cents are welcome - I'll try
> everything.

please try starting python -d (--debug IIRC)
and then loading cx_Oracle manually
(>>> import cx_Oracle).

Usually it succeeds (sic!) but outputs a lot
of symbol errors. // Problem with Oracle libs

-- 
With best regards,
xrgtn (+380501102966/+380636177128/xrgtn at jabber.kiev.ua)



More information about the Python-list mailing list