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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -