AWS Lambda import module error in python

后端 未结 21 1535
醉话见心
醉话见心 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:21

    If you are uploading a zip file. Make sure that you are zipping the contents of the directory and not the directory itself.

提交回复
热议问题