标签:
(Study_env) ? DAL python -c "import cx_Oracle"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: dlopen(/Code_Depot/Study_env/lib/python2.7/site-packages/cx_Oracle.so, 2): Library not loaded: @rpath/libclntsh.dylib.12.1
Referenced from: /Code_Depot/Study_env/lib/python2.7/site-packages/cx_Oracle.so
Reason: image not found
设置环境变量
export ORACLE_HOME=‘/Users/instantclient_12_1‘
export LD_LIBRARY_PATH=$ORACLE_HOME
cx_Oracle 报错 Reason: image not found
标签:
原文地址:http://www.cnblogs.com/noobkey/p/5782603.html