Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

module initialization error: importlib_metadata #12

Description

@jterry64

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions