I am trying to use asyncpg with AWS Lambda and got the following error while trying to import asyncpg
Unable to import module 'handler': No module named asyncpg.protocol.protocol'
I import python dependencies such as this one with and without virtual environment.
update This repo was found with a custom compiled psycopg2 , which works well with AWS Lambda, but for asyncpg no such alternative or compilation instructions for Lambda-friendly asyncpg .
source share