HowTo: Configure Python cx_Oracle

This post will be a brief walk through on how to configure python cx_Oracle on Linux. The commands can be found on my public Git repo:

 

  • Download the cx_Oracle tar file or rpm from PyPi or GitHub
  • Download Instant Client Basic & SDK files from Oracle 
  • Unzip all the files to the same directory - as root/sudo
  • Set up instant client basic
  • Download dependencies for cx_Oracle
cx6.PNG
  • Install cx_Oracle
  • Add the library path to .bash_profile

 

  • Test the connection to an Oracle database

For more information on using cx_Oracle, you can read the docs.

 

 

 

*Cover images from python.org