Skip to content

Updating python version 3.10 Runtime.ImportModuleError for Aurora PostgreSQL #161

@jypil-scout24

Description

@jypil-scout24

Since python v3.9 is nearing EOL, the lambda runtime automatically updates to v3.10

This caused function to fail with error:
[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named '_pg' Traceback (most recent call last):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions