0% found this document useful (0 votes)
191 views2 pages

Instantclient - 12 - 2.zip C:/Oracle/instantclient - 12 - 2: Installation Steps

To install Oracle Instant Client and connect Python to an Oracle database: 1. Unzip Instant Client files and add the folder to the system PATH variable. 2. Install the correct Visual Studio redistributable based on the Instant Client version. 3. Install the cx_Oracle and pandas Python packages using pip to enable database connectivity from Python scripts and applications.

Uploaded by

marieanne984ever
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
191 views2 pages

Instantclient - 12 - 2.zip C:/Oracle/instantclient - 12 - 2: Installation Steps

To install Oracle Instant Client and connect Python to an Oracle database: 1. Unzip Instant Client files and add the folder to the system PATH variable. 2. Install the correct Visual Studio redistributable based on the Instant Client version. 3. Install the cx_Oracle and pandas Python packages using pip to enable database connectivity from Python scripts and applications.

Uploaded by

marieanne984ever
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Installation steps:

1. Unzip instantclient_12_2.zip and copy the folder to a new folder c:\Oracle. Now you will have the
following path: C:\Oracle\instantclient_12_2

2. Open Control Panel -> System and Security->System -> Advanced System Settings -> Advanced ->
Environment Variables

Open variable PATH for User variables and add C:\Oracle\instantclient_12_2

Add C:\Oracle\instantclient_12_2 also in the System Variables -> PATH


3. Oracle Instant Client libraries require a Visual Studio redistributable with a 64-bit
architecture to match Instant Client’s architecture. Each Instant Client version requires a
different redistributable version:

For Instant Client 12 install VS 2010

In case you already have a new version of VS installed, it is ok.

4. Install cx_Oracle python package from a Command Prompt window:

pip install cx_Oracle

5. Install pandas

pip install pandas

6. Restart any Python IDE (PyCharm, Eclipse…) and retest the connection.

More detailed installation instruction you may find at: https://cx-


oracle.readthedocs.io/en/latest/user_guide/installation.html

You might also like