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?
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?
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
For use in JupyterLab:
install ipywidgets package:
With pip
pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension
With conda
conda install -c conda-forge ipywidgets
(Installing ipywidgets with conda will also enable the extension for you.)
Then run the following command to install the Jupyter widgets extension for FigureWidget support (note that this will require nodeJs to be installed in your system):
jupyter labextension install @jupyter-widgets/jupyterlab-manager