AWS Python Lambda with Oracle

后端 未结 1 1982
执笔经年
执笔经年 2020-12-21 11:49

I am trying to connect to an Oracle db from AWS Lambda using python. I managed to package cx_Oracle but the environment does not find the dependencies.

相关标签:
1条回答
  • 2020-12-21 12:14

    Resolved. Added all dependencies by running ldd cx_Oracle.so| grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' /destination Added all those files in destination to lib folder in lambda zip

    0 讨论(0)
提交回复
热议问题