streamlit-pandas-profiling icon indicating copy to clipboard operation
streamlit-pandas-profiling copied to clipboard

The component do not work any more

Open v479038280 opened this issue 1 year ago • 1 comments

PydanticImportError: BaseSettingshas been moved to thepydantic-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

v479038280 avatar Jul 20 '23 11:07 v479038280

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"

bwest2397 avatar Aug 09 '23 16:08 bwest2397