Data Science Snippets

Date written Aug 2, 2020
Filed under Software Eng. in tech

  • Fixing Jupyter Lab widgets

Fixing Jupyter Lab widgets

If widgets like tqdm progress bars are not working in Jupyter, run the following once in every new environment containing Jupyter.

$ pip install ipywidgets
$ jupyter nbextension enable --py widgetsnbextension
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager

After searching innumerable times, I finally have it handy. This was originally discussed in Issue #394 on Github.