How To Set Oracle Client Library Path In Python When Multiple Oracle Client Version Installed
i have 2 oracle client installed in linux machine. 10.2 and 12.2. Second one i have to use for cx_oracle and older one is needed for other older implementation which i cant touch.
Solution 1:
Write a shell script that lists the 12.2 Oracle Client library in LD_LIBRARY_PATH before other Oracle libraries, and then invokes Python.
#!/bin/sh
export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2
python "$@"
Post a Comment for "How To Set Oracle Client Library Path In Python When Multiple Oracle Client Version Installed"