79361129

Date: 2025-01-16 10:21:49
Score: 1.5
Natty:
Report link

The issue is likely with the directory structure of your layer. For AWS Lambda to recognize your module, the site-packages folder needs to be under the python/ directory in the root of your ZIP file. Here's the correct structure:

python/ lib/ python3.11/ site-packages/ pyodbc/ pyodbc-5.2.0.dist-info/

Make sure you're matching the Python runtime version of your Lambda function (e.g., Python 3.11).

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Prajwal Savkar