I was using Oracle 10.1 OCI.dll and this was incompatible with cx_Oracle
-- I moved to instant client 11 and cx_Oracle for 11g and Python 2.7 and
it now imports.
I appreciate the help from a member in the group.
On 1/27/2011 10:32 AM, Jim Thompson wrote:
> 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.
>
--
Jim Thompson
Reply To: ji...@ls...
LSF Development Corp. Jim Thompson
PO Box 201 6311 Ski Texas Lane
Martindale, TX 78655 Rosharon, TX 77583
832 423 7428 (mobile - ATT)
775 264 6670 (e-fax)
http://www.lsfdev.com
http://www.SanMarcosRiverRanch.com
|