Python Forum
Windows server 2008 SP2 - Python cx_Oracle connection DLL error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows server 2008 SP2 - Python cx_Oracle connection DLL error
#1
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
Reply
#2
Don't know if this is any help, but post it anyway: http://www.oracle.com/technetwork/pt/top...00037.html
Reply
#3
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I don't know what is wrong (Python and SQL connection) shereen 2 140 2 hours ago
Last Post: menator01
  No Internet connection when running a Python script basil_555 8 442 Mar-11-2024, 11:02 AM
Last Post: snippsat
  Connection LTspice-Python with PyLTSpice bartel90 0 280 Feb-05-2024, 11:46 AM
Last Post: bartel90
  Triggering a ps1 script in remote windows server via http python request jasveerjassi 1 319 Jan-26-2024, 07:02 PM
Last Post: deanhystad
  Virtual Env changing mysql connection string in python Fredesetes 0 324 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  connection python and SQL dawid294 4 585 Dec-12-2023, 08:22 AM
Last Post: Pedroski55
  cx_oracle Error - AttributeError: 'function' object has no attribute 'cursor' birajdarmm 1 2,211 Apr-15-2023, 05:17 PM
Last Post: deanhystad
  Networking Issues - Python GUI client and server connection always freezes Veritas_Vos_Liberabit24 0 679 Mar-21-2023, 03:18 AM
Last Post: Veritas_Vos_Liberabit24
  Server Folder Error : WinError5 Access Denied fioranosnake 1 1,092 Jun-21-2022, 11:11 PM
Last Post: Larz60+
  "SSL: CERTIFICATE_VERIFY_FAILED” error on Python 3.9.6 (Windows 10) rcmv 4 3,581 May-10-2022, 01:18 PM
Last Post: rcmv

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020