Re: [cx-oracle-users] Unable to load cx_Oracle in python
Brought to you by:
atuining
|
From: Amaury F. d'A. <ama...@gm...> - 2011-01-27 17:01:24
|
Hi
2011/1/27 Jim Thompson <jim...@ls...>:
> On a Windows XP box import cx_Oracle fails.
>
> Profile from Dependency Walker:
>
>
> DllMain(0x1E000000, DLL_PROCESS_ATTACH, 0x0022FD30) in "PYTHON27.DLL"
> returned 1 (0x1).
> Unloaded "SHIMENG.DLL" at address 0x5CB70000.
> LoadLibraryExA("C:\Python27\lib\site-packages\cx_Oracle.pyd",
> 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "PYTHON27.DLL" at
> address 0x1E02BE5F.
> Loaded "CX_ORACLE.PYD" at address 0x69E80000. Successfully hooked module.
> Loaded "OCI.DLL" at address 0x10000000. Successfully hooked module.
> Unloaded "CX_ORACLE.PYD" at address 0x69E80000.
> Unloaded "OCI.DLL" at address 0x10000000.
> LoadLibraryExA("C:\Python27\lib\site-packages\cx_Oracle.pyd",
> 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error: The
> specified procedure could not be found (127).
>
>
> On a Win XP machine that works it loads an older version of MSVCR90.dll
> than is loaded on the machine that fails.
>
> This is Python 2.7.1 and the Oracle 10g non unicode version of cx_Oracle.
Which OCI.DLL does it find? Maybe it's from an older Oracle version?
--
Amaury Forgeot d'Arc
|