AWS Lambda import module error in python

后端 未结 21 1548
醉话见心
醉话见心 2020-12-07 19:56

I am creating a AWS Lambda python deployment package. I am using one external dependency requests . I installed the external dependency using the AWS documentation http://do

21条回答
  •  我在风中等你
    2020-12-07 20:06

    Make sure that you are zipping all dependencies in a folder structure as python/[Your All Dependencies] to make it work as per this documentation.

    https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html#configuration-layers-path

提交回复
热议问题