[Python] No module named 'pydantic_core._pydantic_core' in AWS Lambda though library is...

Discussão em 'Python' iniciado por Stack, Agosto 1, 2025.

  1. Stack

    Stack Membro Participativo

    AWS lambda deployment of FastAPI gives the following error:

    [ERROR] Runtime.ImportModuleError: Unable to import module 'users_crud': No module named 'pydantic_core._pydantic_core'
    Traceback (most recent call last):


    Though the pydantic lib is already installed. I am using version 3.10 which is now supported by AWS.

    Continue reading...

Compartilhe esta Página