You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2024. It is now read-only.
Describe the bug
When running an oracle connection on M1 mac. it cannot find the oracle drivers.
ERROR DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 0x0001): tried: 'libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibclntsh.dylib' (no such file), __main__.py:326
'/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no
such file), '/opt/homebrew/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libclntsh.dylib' (no such file),
'/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no
such file), '/opt/homebrew/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libclntsh.dylib' (no such file),
'/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no
such file), '/opt/homebrew/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libclntsh.dylib' (no such file),
'/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/koen.vanbesien/.asdf/installs/python/3.10.12/lib/libclntsh.dylib' (no
such file), '/opt/homebrew/lib/libclntsh.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libclntsh.dylib' (no such file), '/opt/homebrew/lib/libclntsh.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libclntsh.dylib' (no such file), '/usr/lib/libclntsh.dylib' (no such file, not in dyld cache), 'libclntsh.dylib' (no such file),
'/usr/local/lib/libclntsh.dylib' (no such file), '/usr/lib/libclntsh.dylib' (no such file, not in dyld cache)". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help
Describe the environment
Mac M1 Ventura 13.4
** Solution **
Adapt the oracle.py file with the proposed changes here
Describe the bug
When running an oracle connection on M1 mac. it cannot find the oracle drivers.
Describe the environment
Mac M1 Ventura 13.4
** Solution **
Adapt the oracle.py file with the proposed changes here
https://python-oracledb.readthedocs.io/en/latest/user_guide/appendix_c.html#steps-to-upgrade-to-python-oracledb
I edited it like this and it worked
Not sure if you can add this by default to the oracle.py driver?
The text was updated successfully, but these errors were encountered: