Pip Install Cx_oracle Windows
You can Install cx_Oracle on Linux without pip.
Valid on Linux
Follow the steps in the Install cxOracle on Windows Without pip page. Pip install may prompt you to install Microsoft Visual C Compiler for Python. Follow the download link and install the software.
Follow these directions in case you need to install cx_Oracle on a Linux system that does nor have a full Internet connection.

If the database server is on a separate system, first follow the instructions under Install Oracle Instant Client
Go to http://sourceforge.net/projects/cx-oracle/files/5.1.2/ and download the appropriate cx_Oracle RPM, based on the Oracle version, Python version, and processor type.
In case you use Oracle Instant Client, the Oracle version must match that of the Oracle Instant Client. The processor type must also match the version of Python being used. If a 32-bit Python is installed, you must use the 32-bit version of cx_Oracle, even if you have a 64-bit processor.
Example: For Python 2.6 / 32-bit, Oracle Instant Client v11, download cx_Oracle-5.1.2-11g-py26-1.i386.rpm.
- Copy the RPM to the CA Strong Authentication or CA Risk Authentication server.
- Verify that you set ORACLE_HOME correctly.
Run the following command:
- If the database server is not installed on the CA Strong Authentication or CA Risk Authentication server, follow the instructions on Install Oracle Instant Client page
- Run the following command:
If the server does not have full Internet connectivity, pip install will fail. Follow the steps in the Install cx_Oracle on Windows Without pip page.
pip install may prompt you to install Microsoft Visual C++ Compiler for Python. Follow the download link and install the software. You can also follow the steps in the Install cx_Oracle on Windows Without pip
Pip Install Cx Oracle
7. Confirm the cx_Oracle correctly installed by starting the Python interpreter and entering the following command: