I followed the instructions from the ReadME and the primer to run the hello world program and I am facing some issues.
I get the following when I try to run a simple program:
from ice.recipe import recipe
File "/opt/homebrew/lib/python3.10/site-packages/ice/recipe.py", line 24, in <module>
from pydantic import BaseSettings
File "/opt/homebrew/lib/python3.10/site-packages/pydantic/__init__.py", line 210, in __getattr__
return _getattr_migration(attr_name)
File "/opt/homebrew/lib/python3.10/site-packages/pydantic/_migration.py", line 289, in wrapper
raise PydanticImportError(
pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.1.1/migration/#basesettings-has-moved-to-pydantic-settings for more details.
Hello.
I followed the instructions from the ReadME and the primer to run the hello world program and I am facing some issues.
I get the following when I try to run a simple program:
Which version of
pydantic
should I use?