Skip to content

AWS python lambda - fails to import oracledb #32

Discussion options

You must be logged in to vote

I don't know much about AWS lambda but the error you are getting is suggesting that the shared library (C extension) is not being loaded properly. My directory looks like this:

aq.py
base_impl.cpython-310-x86_64-linux-gnu.so
connection.py
connect_params.py
constants.py
constructors.py
cursor.py
dbobject.py
defaults.py
driver_mode.py
dsn.py
errors.py
exceptions.py
__init__.py
lob.py
pool_params.py
pool.py
py.typed
soda.py
subscr.py
thick_impl.cpython-310-x86_64-linux-gnu.so
thin_impl.cpython-310-x86_64-linux-gnu.so
utils.py
var.py
version.py

Take note of the 3 files with .so -- these are the ones that your installation doesn't seem to be able to find!

Replies: 5 comments 38 replies

Comment options

You must be logged in to vote
21 replies
@ybindu
Comment options

@anthony-tuininga
Comment options

@shivanibhavsar02
Comment options

@anthony-tuininga
Comment options

@ralphwillgoss
Comment options

Answer selected by ralphwillgoss
Comment options

You must be logged in to vote
11 replies
@ETzaf
Comment options

@peanutbutter97
Comment options

@Takahir-O
Comment options

@cjbj
Comment options

@antonizero99
Comment options

Comment options

You must be logged in to vote
3 replies
@ralphwillgoss
Comment options

@shivanibhavsar02
Comment options

@ralphwillgoss
Comment options

Comment options

You must be logged in to vote
1 reply
@ralphwillgoss
Comment options

Comment options

You must be logged in to vote
2 replies
@vignxs
Comment options

@AjGitHubStore
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet