RuntimeError: Unable to acquire Oracle environment handle

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kishorys
    New Member
    • Feb 2008
    • 1

    RuntimeError: Unable to acquire Oracle environment handle

    I have python version 2.5.1 and cx_Oracle version 4.3.1.
    Oracle is also in running state.
    I am getting an error while trying to connect to Oracle DB which is installed in my system from python.

    >>> import cx_Oracle
    >>> cx_Oracle.Conne ction('scott/tiger@orcl')

    Traceback (most recent call last):
    File "<pyshell#3 >", line 1, in <module>
    cx_Oracle.Conne ction('scott/tiger@orcl')
    RuntimeError: Unable to acquire Oracle environment handle

    Anyone can help me to solve this problem please?

    Thanks in advance.
Working...