Top "Cx-oracle" questions

cx_Oracle is a Python extension module that allows access to Oracle databases and conforms to the Python database API specification.

cx_Oracle: distutils.errors.DistutilsSetupError: cannot locate Oracle include files

I need install cx_Oracle for Python 2.5 on Linux (Linux 2.6.18-371.1.2.el5 i686). I have installed Oracle client 10.2.0.4. I have …

linux oracle python-2.5 cx-oracle
InterfaceError: Unable to acquire Oracle environment handle; ORACLE_HOME is correct and SQL*Plus will connect

I'm getting the standard "DLL load failed; module not found" error when trying to import cx_Oracle. I have the …

python oracle cx-oracle
cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "dlopen(libclntsh.dylib, 1): image not found"

I am trying to set up cx_Oracle to work with Python. I am using Python 2.7.10, 64-bit cx_Oracle version 6.0.2 …

python python-2.7 cx-oracle
"error: cannot locate an Oracle software installation" When trying to install cx_Oracle

Newbie here trying to use python to do some database analysis. I keep getting the error: "error: cannot locate an …

python oracle cx-oracle
Making a Dictionary List with cx_Oracle

I've been using the following function to make a "more readable" (supposedly) format for fetching data from Oracle. Here is …

python oracle cx-oracle
How to fix: cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library - Python

I am establishing a connection to oracle 11g which is in a remote server using cx_oracle 7 with python 3.6.7. my …

python-3.x ubuntu-18.04 cx-oracle
How to export a table to csv or excel format

I need to export a oracle table to a csv/excel file format (along with the column headings). A solution …

python oracle11g cx-oracle
execute a sql script file from cx_oracle?

Is there a way to execute a sql script file using cx_oracle in python. I need to execute my …

python database cx-oracle
Closing a cx_Oracle Connection While Allowing for a Down Database

The following cx_Oracle code works fine when the database is up: #!C:\Python27 import cx_Oracle try: conn = cx_…

python database-connection cx-oracle nameerror try-finally
How do I access an Oracle db without installing Oracle's client and cx_Oracle?

I have two RHEL servers running Python 2.4 and 2.6 separately. There is an Oracle database on the other server I need …

python oracle python-2.6 cx-oracle