Hi
I am configuring python for oracle.
I have configured file ln -s libclntsh.so.12.1 libclntsh.so
Python version Python 2.7.5
I have installed python pip by using command python get-pip.py
i have set export LD_RUN_PATH=/u01/app/oracle/product/12.0.1/dbhome_1/instantclient_12_1
I have set Oracle home export ORACLE_HOME=/u01/app/oracle/product/12.0.1/dbhome_1
while install cx_Oracle in oracle user getting below error error
pip install cx_Oracle
Collecting cx_Oracle
Using cached cx_Oracle-5.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-g5MJ3b/cx-Oracle/setup.py", line 162, in <module>
raise DistutilsSetupError(messageFormat % userOracleHome)
distutils.errors.DistutilsSetupError: Oracle home (/u01/app/oracle/product/12.0.1/dbhome_1/instantclient_12_1) does not refer to an 10g, 11g or 12c installation.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g5MJ3b/cx-Oracle/