Interview practice question
ImportError for a library
Data Engineering · AWS Lambda · Beginner
Your Python Lambda fails with "No module named pandas" even though it works locally. What's wrong?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- The dependency isn't included in the deployment package or a layer.
- Native libraries must be built for Lambda's Linux and architecture.
- Use a layer, a container image or the AWS SDK for pandas managed layer.
- Match Python version and architecture.
- Automate packaging in CI.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.