Perhaps all requirements are met in your python2 environment, but not in your python3 environment.
On my system, I can make a mistake by disappearing by doing
conda install ipywidgets
and
conda install widgetsnbextension
In a distribution other than Anaconda, perhaps the same can be achieved by doing
pip3 install ipywidgets
and
pip3 install widgetsnbextension
You may need to enable the extension using
jupyter nbextension enable --py widgetsnbextension
source
share