could not use tqdm_notebook in notebook

Kay Zhou picture Kay Zhou · Jan 29, 2019 · Viewed 7.2k times · Source

When I use the tqdm_notebook in iteration:

from tqdm import tqdm_notebook as tqdm

It only shows:

HBox(children=(IntProgress(value=1, bar_style='info', max=1), HTML(value='')))

How can I do?

Answer

akode picture akode · Feb 18, 2019

Probably you don't have ipywidgets installed.

For Jupyter Notebook you can check with $ jupyter nbextension list

For Jupyter Lab you can check with $ jupyter labextension list

Installing ipywidgets is described here