IPython Notebook ipywidgets does not show IPython Notebook ipywidgets does not show python python

IPython Notebook ipywidgets does not show


With the new version of ipywidgets, I ran into this problem, but then I found on their github readme that you now need to follow

pip install ipywidgets

with

jupyter nbextension enable --py widgetsnbextension

That cleared the problem up for me.


After googling for a while without hope, I realized that I need

jupyter labextension install @jupyter-widgets/jupyterlab-manager


If you've already got [an older version] of ipywidgets installed in Jupyter and you're seeing this problem (you'll probably be seeing javascript errors in the browser console) then you need to run the install command to update the relevant files e.g.:

jupyter nbextension install --user --py widgetsnbextension

And you may also need to rerun the enable command e.g.:

jupyter nbextension enable --user --py widgetsnbextension

Note: the --user argument may need to be different if you're using a virtualenv or other environment - see the ipywidget docs for more details.