当我在迭代中使用 tqdm_notebook
时:
从 tqdm 将 tqdm_notebook 导入为 tqdm
它只显示:
HBox(children=(IntProgress(value=1, bar_style='info', max=1), HTML(value='')))
我该怎么办?
最佳答案
可能您没有安装 ipywidgets。
对于 Jupyter Notebook,您可以查看
$ jupyter nbextension 列表
对于 Jupyter Lab,您可以查看
$ jupyter labextension 列表
描述了安装 ipywidgets here
关于python - 无法在笔记本中使用 tqdm_notebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54430121/