#for jupyter lab, in anaconda prompt:
conda install nodejs
jupyter labextension list
conda list widget
pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
#In Jupyter Lab Notebook:
from tqdm.auto import tqdm, trange