question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing jupyter-js-widgets/extension

See original GitHub issue

Hi, when running some widgets (tried both bqplot and tqdm_notebook), I get this error message:

Widget Javascript not detected. It may not be installed properly. Did you enable the widgetsnbextension? If not, then run “jupyter nbextension enable --py --sys-prefix widgetsnbextension”

Running the suggested enable command at the shell, I get an error message:

% jupyter nbextension enable --py --sys-prefix widgetsnbextension
 Enabling notebook extension jupyter-js-widgets/extension...
       - Validating: problems found:
         - require?  X jupyter-js-widgets/extension

I am using ipywidgets version 5.2.2

Possibly other useful information:

 % jupyter nbextension list
Known nbextensions:
  config dir: /Users/cpl29573/.jupyter/nbconfig
    notebook section
      usability/limit_output/main  enabled
      - Validating: OK
      jupyter-js-widgets/extension  enabled
      - Validating: problems found:
        - require?  X jupyter-js-widgets/extension
      usability/runtools/main  enabled
      - Validating: OK
      usability/ruler/main  enabled
      - Validating: OK
      usability/codefolding/main  enabled
      - Validating: OK
      nbextensions_configurator/config_menu/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      usability/hide_input/main disabled
      canopy/training/exercise  enabled
      - Validating: OK
      usability/dragdrop/main  enabled
      - Validating: OK
      usability/scratchpad/main  enabled
      - Validating: OK
      usability/autosavetime/main  enabled
      - Validating: OK
      canopy/catalyst  enabled
      - Validating: OK
      usability/toc2/main  enabled
      - Validating: OK
      styling/table_beautifier/main  enabled
      - Validating: OK
      usability/datestamper/main  enabled
      - Validating: OK
      usability/hide_input_all/main  enabled
      - Validating: OK
      usability/comment-uncomment/main  enabled
      - Validating: OK
      usability/chrome-clipboard/main disabled
    tree section
      nbextensions_configurator/tree_tab/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main
  config dir: /Users/cpl29573/Library/Enthought/Canopy_64bit/User/etc/jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled
      - Validating: problems found:
        - require?  X jupyter-js-widgets/extension

I am using an Enthought Canopy installation on OSX.

This seems to be related to the closed issue #965.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

72reactions
landryshuaicommented, Mar 21, 2017

I run jupyter nbextension install --py widgetsnbextension --user and jupyter nbextension enable widgetsnbextension --user --py

en with no error.

2reactions
sinamoeinicommented, Apr 5, 2020

This finally worked for me

jupyter nbextension install --user --py widgetsnbextension jupyter nbextension enable --user --py widgetsnbextension

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter notebook: Widget Javascript not detected
Enabling notebook extension is SUCCESSFUL, but , however, the module widgets still gives the error: Widget Javascript not detected. It may not ...
Read more >
jupyter/notebook - Gitter
Okay, so to recap where we are, it looks like we are loading extension.js, but for some reason it's looking for nbextensions/../widget.js, and...
Read more >
Migrating custom widget libraries — Jupyter Widgets 8.0.2 ...
If you now build the client-side code of your library, you will get many errors about missing jupyter-js-widgets dependencies. You need to replace...
Read more >
jupyter-nbextension-jupyter-js-widgets_6.0.0-8_all.deb
This package contains the server-side Jupyter notebook extension that allows a Jupyter notebook server to serve and display these widgets.
Read more >
Installing jupyter_contrib_nbextensions in dataiku for all users
More info can be found here: Using Jupyter Widgets ... jupyter-js-widgets/extension ... And you should get both Jupyter Notebook Extensions and Widgets.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found