Python relative imports in AWS Lambda fail with attempted relative import with no known parent package The Problem In AWS Lambda if I attempt an explicit relative import like this . ├── lambda_file.py └── example.py