0 votes

I need to work with ipyvolume module which needs the ipywidgets. The instructions say that I need to enable the widget by running:

jupyter nbextension enable --py --sys-prefix widgetsnbextension

However, I don't know how to access the jupyter server instance running internally in DSS at port 11200. I tried the DSS_HOME/pyenv/bin/jupyter-nbextenstions but the problem still persists.

This is the error I get when I run my command below:

ipyvolume.examples.ball(rmax=3, rmin=2.5, shape=32, lighting=True)


Failed to display Jupyter Widget of type VBox.

If you're reading this message in Jupyter Notebook or JupyterLab, it may mean that the widgets JavaScript is still loading. If this message persists, it likely means that the widgets JavaScript library is either not installed or not enabled. See the Jupyter Widgets Documentation for setup instructions.

If you're reading this message in another notebook frontend (for example, a static rendering on GitHub or NBViewer), it may mean that your frontend doesn't currently support widgets.


This command works fine in my external jupyter and shows the 3D plot.

On the other hand, I noticed the config of DSS jupyter when I run "DSS_HOME/pyenv/bin/jupyter-nbextension list" says:

  config dir: /Users/sarah/Library/DataScienceStudio/dss_home/pyenv/etc/jupyter/nbconfig

    notebook section

      ipyvolume/extension enabled

      - Validating: OK

      jupyter-js-widgets/extension enabled

      - Validating: OK


So I am not really sure what goes wrong here. 

asked by
edited by

Please log in or register to answer this question.

686 questions
705 answers
434 users