相关疑难解决方法(0)

导入错误:找不到 IProgress。尽管已安装,但请更新 jupyter 和 ipywidgets

我正在使用 jupyter 笔记本并安装。

ipywidgets==7.4.2 widgetsnbextension pandas-profiling=='.0.0
Run Code Online (Sandbox Code Playgroud)

我也跑了:

!jupyter nbextension enable --py widgetsnbextension
Run Code Online (Sandbox Code Playgroud)

但运行时:

from pandas_profiling import ProfileReport
profile = ProfileReport(df, title="Pandas Profiling Report", explorative=True)
profile.to_widgets()
Run Code Online (Sandbox Code Playgroud)

我收到错误:

ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
Run Code Online (Sandbox Code Playgroud)

知道为什么吗?尝试了建议的解决方案。

pandas jupyter jupyter-notebook ipywidgets pandas-profiling

50
推荐指数
2
解决办法
12万
查看次数