설치까지는 토론에 올라온 해결방법을 보고 하니 되었는데 이후 임포트를 하려고 하니
아래와 같은 오류가 뜹니다.
---------------------------------------------------------------------------
PydanticImportError Traceback (most recent call last)
<ipython-input-8-c6c7f85a4bb2>" data-mce-href="https://localhost:8080/" data-mce-style="color: var(--colab-anchor-color);"><ipython-input-8-c6c7f85a4bb2> in <cell line: 1>() ----> 1 from pandas_profiling import ProfileReport 2 profile = ProfileReport(df, title="Pandas Profiling Report")
4 frames
/usr/local/lib/python3.10/dist-packages/pydantic/_migration.py in wrapper(name) 294 return import_string(REDIRECT_TO_V1[import_path]) 295 if import_path == 'pydantic:BaseSettings': --> 296 raise PydanticImportError( 297 '`BaseSettings` has been moved to the `pydantic-settings` package. ' 298 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.5/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.5/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. ---------------------------------------------------------------------------
comment