Python+GNU/Linux+Oracle 10 g Express Edition+cx_Oracle

C

cirudinezidane

Hi!!

I'd like to install Oracle 10 g express edition over Ubuntu to use with
Python 2.4. I have installed Ubuntu, Python 2.4 and Oracle database. I
think that I have installed correctly cx_Oracle because I have
cx_Oracle.so in /usr/share/python2.4/site-packages/ directory. My
environment variables are ORACLE_HOME=/usr/lib/oracle and
LD_LIBRARY_PATH=$ORACLE_HOME/lib. I am trying to connect to Oracle
database:Traceback (most recent call last): File "<stdin>", line 1, in ?
RuntimeError: Unable to acquire Oracle environment handle


What is the problem?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top