-
Notifications
You must be signed in to change notification settings - Fork 459
Description
Expected Behaviour
I added the aws-lambda-powertools lib in my requirements.txt.
I used this same file from last one year with sam deployment.
Now I am getting error like
[ERROR] Runtime.ImportModuleError: Unable to import module 'xxxx.xxxx': No module named 'aws_xray_sdk'Traceback (most recent call last):
In previously I didn't get the same error. Now only I am getting the error.
aws_xray_sdk is under the aws-lambda-powertools right?
No need to mention this xray lib to my requirements.txt right?
@aws
Please help me to resolve this issue?
Thanks,
Current Behaviour
Now I am getting error like
[ERROR] Runtime.ImportModuleError: Unable to import module 'xxxx.xxxx': No module named 'aws_xray_sdk'Traceback (most recent call last):
In previously I didn't get the same error. Now only I am getting the error.
Code snippet
When I import this line, I am getting error
from aws_lambda_powertools import Logger, Metrics, TracerPossible Solution
No response
Steps to Reproduce
I am raising the issue
AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.9
Packaging format used
Lambda Layers
Debugging logs
No response