You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Messsage:
errorMessage": "Unable to import module 'main': No module named 'pydantic_core._pydantic_core'"
Reverting back to 0.99.1 resolves the issues, so its not an architecture type miss match.
Could it be Mac OS binary vs Linux Binary. But its strange that the 0.99.1 package does not work the same way as the 0.100.1 package with the core change being pydantic V2.
We can't offer support for cloud provider-specific issues, CI misconfiguration, etc. I'm guessing the dependency is missing because the python version or architecture you used to build your lambda image / zip file doesn't match your runtime environment but beyond that you'll have to ask AWS or some other avenue for support.
Initial Checks
Description
Hi,
Upgrading to fastapi ==0.100.1,
Using Pipenv:
fastapi ==0.100.1,
pydantic ==2.1.1,
pydantic-core ==2.4.0
AWS Lambda Python 3.11 x86_64.
Error Messsage:
errorMessage": "Unable to import module 'main': No module named 'pydantic_core._pydantic_core'"
Reverting back to 0.99.1 resolves the issues, so its not an architecture type miss match.
Could it be Mac OS binary vs Linux Binary. But its strange that the 0.99.1 package does not work the same way as the 0.100.1 package with the core change being pydantic V2.
Example Code
No response
Python, Pydantic & OS Version
Selected Assignee: @adriangb
The text was updated successfully, but these errors were encountered: