Users can install the current version of ipywidgets with pip or conda.
pip install ipywidgets
or
conda install ipywidgets
After ipywidgets has been installed, the associated nbextension assets can
be enabled in Jupyter Notebook by running the commands below.
If installing through conda or using virtualenv, the --sys-prefix
parameter may be required to keep the environment isolated.
jupyter nbextension enable --py widgetsnbextension