cx_Oracle entry point error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lblr33@yahoo.com

    #1

    cx_Oracle entry point error

    I downloaded cx_Oracle from
    http://www.cxtools.net/default.aspx?nav=cxorlb and selected the windows
    installer for Oracle 8i, Python 2.4
    [color=blue]
    >From the readme.txt file:[/color]
    BINARY INSTALL:
    Place the file cx_Oracle.pyd or cx_Oracle.so anywhere on your Python
    path.

    So I tried this and set PYTHONPATH.

    I then created a script called ora_conn.py with one line:
    import cx_Oracle

    When I run the script (c:\python24\py thon.exe ora_conn.py) I get this
    error in a pop-up box:

    "The procedure entry point OCIEnvCreate could not be located in the
    dynamic link ligrary OCI.dll

    The bottom line of what I want to do is to connect to an oracle
    database without having to create an ODBC connection on the individual
    PC.

    Any ideas? Thanks.

  • Albert Leibbrandt

    #2
    Re: cx_Oracle entry point error

    lblr33@yahoo.co m wrote:
    [color=blue]
    >I downloaded cx_Oracle from
    >http://www.cxtools.net/default.aspx?nav=cxorlb and selected the windows
    >installer for Oracle 8i, Python 2.4
    >[color=green]
    >>From the readme.txt file:[/color]
    >BINARY INSTALL:
    >Place the file cx_Oracle.pyd or cx_Oracle.so anywhere on your Python
    >path.
    >
    >So I tried this and set PYTHONPATH.
    >
    >I then created a script called ora_conn.py with one line:
    >import cx_Oracle
    >
    >When I run the script (c:\python24\py thon.exe ora_conn.py) I get this
    >error in a pop-up box:
    >
    >"The procedure entry point OCIEnvCreate could not be located in the
    >dynamic link ligrary OCI.dll
    >
    >The bottom line of what I want to do is to connect to an oracle
    >database without having to create an ODBC connection on the individual
    >PC.
    >
    >Any ideas? Thanks.
    >
    >
    >[/color]
    are you running on windows or linux?
    On both of these os's I only needed to install the binary. Have a look
    at this page on sourceforge
    http://sourceforge.net/project/showf...group_id=84168

    cheers
    albert

    Comment

    Working...