반응형
1. Download Instant Client:
instantclient-basic-macos.x64-19.8.0.0.0dbru.zip 검색하면 나옴!
2. Unzip and move to /opt
3. Create symlink (version에 맞게)
$ cd /opt/instantclient_11_2/
$ ln -s libclntsh.dylib.11.1 libclntsh.dylib
4. Run pip install.
- export ORACLE_HOME=/opt/instantclient_11_2 (version에 맞게)
- pip install cx_Oracle
5. 중요!! (version에 맞게)
export DYLD_LIBRARY_PATH=/opt/instantclient_11_2/
해결.
https://gist.github.com/rmoff/5a70862f27d2284e9541
반응형