1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
You typically receive this error when your Lambda environment can't find the specified library in the Python code. This is because Lambda isn't prepackaged with all Python libraries. The Lambda function depends only on standard libraries. To resolve this error, create a deployment package or Lambda layer that includes the libraries that you want to use in your Python code for Lambda.
Additional information can be found here. https://aws.amazon.com/premiumsupport/knowledge-center/lambda-import-module-error-python/?nc1=h_ls
I hope the information above helps you.
answered a year ago
Relevant content
- Accepted Answerasked 3 months ago
- Accepted Answerasked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 16 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago