ImportError: cannot import name 'ROOT_KEY' from 'pydantic.main' #9130
Unanswered
PlatinumDiors
asked this question in
Question
Replies: 2 comments 1 reply
-
I was encountering the same issue and I downgraded Python from 3.12 to 3.11 and the issue dissapeared. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my env info followed:
pydantic version: 2.6.4
pydantic-core version: 2.16.3
pydantic-core build: profile=release pgo=true
install path: /Users/gaohongyang/Downloads/project/python/ollama/.venv/lib/python3.12/site-packages/pydantic
python version: 3.12.0 (v3.12.0:0fb18b02c8, Oct 2 2023, 09:45:56) [Clang 13.0.0 (clang-1300.0.29.30)]
platform: macOS-14.1.2-arm64-arm-64bit
related packages: typing_extensions-4.10.0
commit: unknown,
when i run my code, I faced this error "ImportError: cannot import name 'ROOT_KEY' from 'pydantic.main' ", could anyone faced the same issue before? and how to fixed the issue? thx
Beta Was this translation helpful? Give feedback.
All reactions