I want to query data from an Oracle database from a Python program and this could be done by using the cx_Oracle Python package. This package required some Oracle package pre-requisites so it cannot be installed thru pip directly.
The following steps are done on a Centos 7 machine with Python 2.7.
1. Download and install the following from Oracle.
- oracle-instantclient11.2-basic
- oracle-instantclient11.2-devel
- oracle-instantclient11.2-sqlplus
2. The installed client should be located at /usr/lib/oracle/11.2/client64.
Continue reading Python – Install cx_Oracle