Python Forum

Full Version: Windows server 2008 SP2 - Python cx_Oracle connection DLL error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

[Image: Vnq5j.png]

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
Don't know if this is any help, but post it anyway: http://www.oracle.com/technetwork/pt/top...00037.html
(Mar-04-2018, 07:13 PM)Larz60+ Wrote: [ -> ]Don't know if this is any help, but post it anyway: http://www.oracle.com/technetwork/pt/top...00037.html

Thank you very much for the reply, I will check on that.