Tqdm 4.28.1 in Jupyter Notebook "IntProgress not found. Please update jupyter and ipywidgets."
I am trying to use tqdm_notebook in my Python code, but I am running into this error
import tqdm
for i in tqdm.tqdm_notebook(range(2, int(total_number)//20):i
ERROR:
IntProgress not found. Please update jupyter and ipywidgets.
ImportError: IntProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
I am using Python 3.7.1 and tqdm version (4.28.1)
Solution 1:
This worked for me.
conda install -c conda-forge ipywidgets
jupyter nbextension enable --py widgetsnbextension
Restarting jupyter notebook afterwards worked.
Solution originally from here.
Solution 2:
For those not using conda:
pip3 install ipywidgets --user
Solution 3:
This works fine for me:
conda install ipywidgets==7.4.2
Solution 4:
ah my bad ! Just had to install the packages jupyter and ipywidgets!