[cx-oracle-users] Installing cx_Oracle on Fedora 12 - Oracle include files
Brought to you by:
atuining
From: Brianna L. <bri...@gm...> - 2010-08-18 06:18:49
|
Hi, I am having trouble installing cx_Oracle on my Fedora 12 machine. Via pip or manually, I get the error distutils.errors.DistutilsSetupError: cannot locate Oracle include files I don't know if I actually _have_ the Oracle include files. I just have sqlplus64 to connect to someone else's database. I have these in my .bash_profile: export ORACLE_VERSION=11.2 export ORACLE_HOME=/usr/lib/oracle/$ORACLE_VERSION/client64 export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export TNS_ADMIN=/etc export TWO_TASK=fdb.ho I was also given a couple of files, /etc/tnsnames.ora /etc/sqlnet.ora. These are the files I have in the $ORACLE_HOME/lib - I tried changing LD_LIBRARY_PATH to just be set to that, too - glogin.sql libclntsh.so.11.1 libnnz11.so libocci.so.11.1 libociei.so libocijdbc11.so libsqlplusic.so libsqlplus.so ojdbc5.jar ojdbc6.jar xstreams.jar What files is it looking for? I don't know much about how Oracle works so I'm pretty lost. Would just like to be able to read my database via python instead of the horrid sqlplus command line! thanks Brianna |