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)
Use pip install notebook --upgrade or conda upgrade notebook to upgrade to the latest release. We strongly recommend that you upgrade to version 9+ of pip before upgrading notebook . Use pip install pip --upgrade to upgrade pip.
Apart from the progress bar, tqdm gives additional information such as the number of iterations completed out of the total number of iterations, Total Elapsed Time, Estimated Time to Complete the whole loop, and the speed of the loop in iterations per second (or it/s).
Jupyter doesn't load or doesn't work in the browser Try disabling any browser extensions and/or any Jupyter extensions you have installed. Some internet security software can interfere with Jupyter.
This worked for me.
conda install -c conda-forge ipywidgets jupyter nbextension enable --py widgetsnbextension
Restarting jupyter notebook afterwards worked.
Solution originally from here.
For those not using conda:
pip3 install ipywidgets --user
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With