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
- import sys
- import cx_Oracle
- from datetime import date, timedelta
- import mail
- import time
Expand|Select|Wrap|Line Numbers
- import cx_Oracle
- ImportError: ld.so.1: python: fatal: libclntsh.so.9.0: open failed: No such fil\
- e or directory
And my question is
How do I tell Python which Oracle Home to use?