469,275 Members | 1,871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

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

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:
import cx_Oracle
db=cx_Oracle.connect('sergio/sergio@XE')

Traceback (most recent call last): File "<stdin>", line 1, in ?
RuntimeError: Unable to acquire Oracle environment handle
What is the problem?

Thanks.

Apr 7 '06 #1
0 1423

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Dan Ellis | last post: by
4 posts views Thread by Damjan | last post: by
1 post views Thread by Maxim Kuleshov | last post: by
4 posts views Thread by hot.favorite | last post: by
1 post views Thread by lblr33 | last post: by
1 post views Thread by Vyacheslav Sotnikov | last post: by
7 posts views Thread by Carl K | last post: by
reply views Thread by M.-A. Lemburg | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.