When you try to access ipywidgets from Jupyter Notebook in AEN:
from ipywidgets import *
You may see the following error:
There is a mismatch in the widgetsnbextension version shipped with the compute.
It is a known issue in AEN 4.2.x.
To fix this issue, run the following command from your AEN server:
sudo -u aen_admin /opt/wakari/anaconda/bin/conda install -p /opt/wakari/wakari-compute/ widgetsnbextension=2
aen_admin> with your AEN account.
Or run the following command from your AEN server:
jupyter nbextension enable --py --sys-prefix widgetsnbextension
You will see the following result:
Enabling notebook extension jupyter-js-widgets/extension...
- Validating: OK