Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 9th, 2006, 12:15 AM
lblr33@yahoo.com
Guest
 
Posts: n/a
Default 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\python.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.

  #2  
Old February 9th, 2006, 07:05 AM
Albert Leibbrandt
Guest
 
Posts: n/a
Default Re: cx_Oracle entry point error

lblr33@yahoo.com 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\python.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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles