-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Hello, I am working with vectors graphics and in the process of adding Pydantic to my code. I ran into an Import Error with this line
python -c 'from pydantic_extra_types import Color'
Pip tells me that both pydantic and the extra packages installed ok ..
$ pip show pydantic
Name: pydantic
Version: 2.12.4
...
Location: ~/code/funcpy/v/lib/python3.9/site-packages
Requires: annotated-types, pydantic-core, typing-extensions, typing-inspection
Required-by: pydantic-extra-types
As a test I added the following line
from pydantic_extra_types.color import Color
to this file
~/code/funcpy/v/lib/python3.9/site-packages/pydantic_extra_types/__init__.py
and the Error went away.
I can continue with my project but raising the issue for awareness. Maybe I missed an installation step, or some packaging is missing?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels