none
Windows server 2008 SP2 - Python cx_Oracle connection DLL error RRS feed

  • Question

  • I have configured the Oracle client and try with the below code, But error prompted.

    import cx_Oracle
    connstr = 'sysadmin/abc1234@localhost:1521/ORCL'
    conn = cx_Oracle.connect(connstr)

    Error : Python.exe - Entry Point Not Found

    The Procedure entry point K32GetModuleBaseNameA could not be located in the dynamic link library KERNEL32.dll

    As I suspected K32GetModuleBaseNameA function not in KERNEL32.dll, and this is working in Windows 7 OS without any issue. 

    I am using Server 2008 32 bit SP2 as client machine and remotely connect to Oracle Data Base 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Tried both Python 2.7 and 3.6.

    Instant client version is "instantclient_12_2"

    Is there any way to update this DLL or is there any fix or patch 

    Sunday, March 4, 2018 5:18 PM