DPI-1047: 64-bit Oracle Client library cannot be loaded

I am trying to run oracle database in python. Specifications: 1. Windows 7 64 bit 2. Python 32 bit 3.6 (Running on Jupyter(Anaconda Navigator) 3.Visual studio 2010 training kit module 4.Oracle instant client basic 12.2 32 bit 5.Oracle instant client basic SQL*Plus 12.2 32 bit

I have installed cx_Oracle via command import sys !conda install --yes --prefix {sys.prefix} cx_Oracle import cx_Oracle

After that I have installed Oracle instant client basic 12.2 32 bit and Oracle instant client basic SQLPlus 12.2 32 bit in the same working directory from where Jupyter is connected. I have copied both installed Oracle instant client basic and instant client basic SQLPlus in same folder and have given environment path of the same folder. But whenever I am running the command it's giving error: DPI-1047: 64-bit Oracle Client library cannot be loaded: "C:\oracle\product\10.2.0\client_1\bin\oci.dll is not the correct architecture". See https://oracle.github.io/odpi/doc/installation.html#windows for help Although there is nothing of 64 bit except windows which I have search doesn't matter.



Read more here: https://stackoverflow.com/questions/51596896/dpi-1047-64-bit-oracle-client-library-cannot-be-loaded

Content Attribution

This content was originally published by Kshitiz Tiwari at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: