-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Initial Checks
- I confirm that I'm using Pydantic V2 installed directly from the
mainbranch, or equivalent
Description
I have pydantic 2.0.2 installed into my AWS Lambda with python3.10 and whenever I try to import pydantic I get the following exception:
[ERROR] Runtime.ImportModuleError: Unable to import module 'app': No module named 'pydantic_core._pydantic_core'
Traceback (most recent call last):
I already checked that the module exists and it is accessible from python path. It was working with pydantic v1.
Example Code
No response
Python, Pydantic & OS Version
I can't import pydantic but the directory shows:
pydantic-2.0.2.dist-info
pydantic_core-2.1.2.dist-info
Selected Assignee: @davidhewitt
pydantic-hooky, ramunecroft, baotran2207, lpm0073, dnhyde and 26 more