streamlit-pandas-profiling
streamlit-pandas-profiling copied to clipboard
The component do not work any more
PydanticImportError:
BaseSettingshas been moved to the
pydantic-settings package. See https://docs.pydantic.dev/2.0.3/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.0.3/u/import-error
I believe this is an issue with pandas_profiling
, or rather now with ydata_profiling
since pandas_profiling
has been renamed to that (itself a breaking change for this component, but I digress). To fix your issue, this should do the trick:
pip install --upgrade "pydantic<2"