Closed dinopanagos closed 1 month ago
note: i get no errors on my local in pycharm with anything pydantic
Hi! You should be able to resolve this with the help of this integration guide: https://docs.pydantic.dev/latest/integrations/aws_lambda/
Also, see details on this issue: https://docs.pydantic.dev/latest/integrations/aws_lambda/#no-package-metadata-was-found-for-email-validator
Getting this error nonstop for days after packing my python zip for lambda. in my req text these dont cover the pydantic error langchain_openai
langchain_community langchain_core langchain
Here are the 3 things ive tried.
Have tried using docker (dockerfile below) and using a Lambda layer -> https://api.klayers.cloud/api/v2/p3.11/layers/latest/us-east-1/json with no luck. (note i have also tried amazonlinux image as well)
for my requirements.txt i have tried
with no luck either.
I have also tried creating a custom layer and zipped with :
pip install --platform manylinux_2_17_x86_64 --only-binary=:all: pydantic-core==2.20.1 -t python