Closed babyhuey closed 1 month ago
Hey @babyhuey, can you share the full traceback you're getting?
Hi again @babyhuey. After consulting with the team, we think this could be caused by having multiple versions of ddtrace installed. Are you by chance also including ddtrace in your dependencies? If so, does removing it as a dependency fix the issue?
Hi again @babyhuey. After consulting with the team, we think this could be caused by having multiple versions of ddtrace installed. Are you by chance also including ddtrace in your dependencies? If so, does removing it as a dependency fix the issue?
Yep. Apologies. Didn't know my engineers added it. Thanks for pointing me there!
No worries, more than happy to help.
Hope this can help others who might see this error message in the future
No module named 'ddtrace._trace.utils_botocore'
The solution is to ensure that you are not also packaging a version of ddtrace
or datadog-lambda
in your dependencies.
Expected Behavior
App works and responds
Actual Behavior
Failure. Stack trace below.
Rolling back to version 98 fixes all issues
Steps to Reproduce the Problem
Specifications
Stacktrace
[ERROR] Runtime.ImportModuleError: Unable to import module 'datadog_lambda.handler': No module named 'ddtrace._trace.utils_botocore'