Problems with Jupyter widgets install

503 views
Skip to first unread message

Iztok Jeras

unread,
Feb 20, 2017, 5:46:20 AM2/20/17
to Project Jupyter
I get the next error after running jupyter on an ARM board:
 404 GET /jupyter/nbextensions/widgets/notebook/js/extension.js

Most of the Python packages are installed from Ubuntu 16.04.2 packages,
while Jupyter itself is installed with:
pip3 install jupyter
So all the code is rather fresh.

Here is the actual install script:

Here is what I get while searching for extension.js:
# find / -name extension.js
/usr/local/share/jupyter/nbextensions/jupyter-js-widgets/extension.js
/usr/local/lib/python3.5/dist-packages/widgetsnbextension/static/extension.js

There are more than one widget packages for Jupyter,
and I am not sure which one to use and how to install (and configure) it.
And I would prefer not to install them all.
If there are recommendations regarding which widget system to use, I would like to hear it.
My preference is usually a rather stable package which is still actively developed.

Just in case compatibility with other systems matters.
We will offer our users to use matplotlib,
but a lot of the graphs will use bokeh,
since it allows updating data without redrawing the graph,
and it does it at a rather high refresh rate (10+ fps).

Regards,
Iztok Jeras

Iztok Jeras

unread,
Feb 20, 2017, 8:18:37 AM2/20/17
to Project Jupyter
It seems the next install steps provide the necessary widgets related packages:
pip install ipywidgets
jupyter nbextension enable
--py widgetsnbextension

The question about preferred widgets for future use is still open.
Reply all
Reply to author
Forward
0 new messages