lambda-decorators icon indicating copy to clipboard operation
lambda-decorators copied to clipboard

module initialization error: importlib_metadata

Open jterry64 opened this issue 6 years ago • 0 comments

I'm trying to use the json_http_resp and json_schema_validator decorators on a lambda function running on Python 3.6 (and version 0.3.0 of lambda-decorators). It works great locally and in my docker container, but when I try to actually run it on AWS, I get the following error message on function initialization if I try to import the lambda-decorators module:

module initialization error: importlib_metadata

Unfortunately AWS doesn't give much more than this. If I remove the lambda-decorators import, everything works fine. Has this been seen before?

jterry64 avatar Oct 17 '19 17:10 jterry64