lambda-decorators
lambda-decorators copied to clipboard
module initialization error: importlib_metadata
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?