instalei esse
!pip install pandas-profiling==3.1.0
e quanto tento usar
**import pandas_profiling
pandas_profiling.ProfileReport(df)
segue essa mensagem de erro
---------------------------------------------------------------------------
PydanticImportError Traceback (most recent call last)
<ipython-input-39-78958ba0ab83> in <cell line: 1>()
----> 1 import pandas_profiling
2
3 pandas_profiling.ProfileReport(df)
5 frames
/usr/local/lib/python3.10/dist-packages/pydantic/_migration.py in wrapper(name)
292 return import_string(REDIRECT_TO_V1[import_path])
293 if import_path == 'pydantic:BaseSettings':
--> 294 raise PydanticImportError(
295 '`BaseSettings` has been moved to the `pydantic-settings` package. '
296 f'See https://docs.pydantic.dev/{version_short()}/migration/#basesettings-has-moved-to-pydantic-settings '
PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details.
For further information visit https://errors.pydantic.dev/2.4/u/import-error
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Já tentei fazer um monte de coisa e não resolveu, agradeço em quem poder me ajudar.