Skip to content

Cannot initialize Instant Client in jupyter notebook (in AWS Sagemaker), works fine in script on the same instance #226

Closed Answered by rahul-ve
rahul-ve asked this question in Q&A
Discussion options

You must be logged in to vote

Hope this helps the next person.
We needed the below to allow for dynamic linking of modules.
Change /root/oracle_files/odb_client/instantclient_21_11 to the location where the files were unzipped.

%%sh

sh -c "echo /root/oracle_files/odb_client/instantclient_21_11 > /etc/ld.so.conf.d/oracle-instantclient.conf"
ldconfig

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@cjbj
Comment options

cjbj Sep 7, 2023
Maintainer

@rahul-ve
Comment options

@cjbj
Comment options

cjbj Sep 7, 2023
Maintainer

@rahul-ve
Comment options

Answer selected by rahul-ve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants