I am trying to use cx_Oracle but am having issues connecting to the Oracle client. Installation succeeded without any problems but when I import I get the error below which refers me to ODPI-C. The documentation of ODPI-C has no installation instructions, simply saying to “include” it in my project. Is this something I need to do and if so, how do I?
What is your version of Python? Is it 32-bit or 64-bit?
32 bit Python 2.7
What is your version of cx_Oracle?
6.0b2
What is your version of the Oracle client (e.g. Instant Client)? How was it
installed? Where is it installed?
OracleClient 11-2-0-3 x86 r1-6 is installed to c:\oracle\product\11.2.0\client_1
What is your OS and version?
Windows 7
What compiler version did you use? For example, with GCC, run
I am not aware of having compiled anything
What environment variables did you set? How exactly did you set them?
I have not set any, and the bin directory of the OracleClient install was added to my path by the installation.
What exact command caused the problem? Who were you logged in as?
import cx_Oracle
I am trying to use cx_Oracle but am having issues connecting to the Oracle client. Installation succeeded without any problems but when I import I get the error below which refers me to ODPI-C. The documentation of ODPI-C has no installation instructions, simply saying to “include” it in my project. Is this something I need to do and if so, how do I?