469,609 Members | 1,160 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Python Connecting to ORACLE problem*** Help me plsss

Hi All,

In my python script i use to run some oracle queries for this i require a library to connect to oracle which is cx_Oracle.

When we were using 9i(oracle).. my script was running fine.. and now when we migrated to 10 G its giving problem...

Few lines of my script

Expand|Select|Wrap|Line Numbers
  1. import sys
  2. import cx_Oracle
  3. from datetime import date, timedelta
  4. import mail
  5. import time
when above code runs its throwing error as ...

Expand|Select|Wrap|Line Numbers
  1.    import cx_Oracle
  2. ImportError: ld.so.1: python: fatal: libclntsh.so.9.0: open failed: No such fil\
  3. e or directory
if you see above error is clearly looking old 9i library .. as of now we are in 10 g

And my question is

How do I tell Python which Oracle Home to use?
Jun 29 '09 #1
0 1718

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Emile van Sebille | last post: by
13 posts views Thread by Zeljko Vrba | last post: by
2 posts views Thread by Mahesh.V | last post: by
2 posts views Thread by rcc.gamer | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.