python - Library not loaded: /ade/b/3071542110/oracle/rdbms/lib/libclntsh.dylib.11.1 -
i have export $oracle_home set directory containing instance client files. , ld_library_path , dyld_library_path set $oracle_home/ in ~/.bash_profile.
i can't seem past error when try import cx_oracle in python:
importerror: dlopen(/library/python/2.7/site-packages/cx_oracle.so, 2): library not loaded: /ade/b/3071542110/oracle/rdbms/lib/libclntsh.dylib.11.1 referenced from: /library/python/2.7/site-packages/cx_oracle.so reason: image not found my environment:
- os x el capitan - 10.11.2
- python: 2.7
- oracle instant client - 64-bit:
- instantclient-sdk-macos.x64-11.2.0.4.0.zip
- instantclient-basic-macos.x64-11.2.0.4.0.zip
i can connect oracle database using sqlplus without issue.
Comments
Post a Comment