-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widgets are not displayed after update to 4.2.0 #1386
Comments
cc @jdfreder, @SylvainCorlay. Previous widget should work with notebook-4.2, right? What did we change here? |
For reference, here is the documentation for ipywidgets 5.1 I wonder if this needs to run now to enable 4.1.1 widgets for notebook 4.2: |
I did try this:
Had no effect. I use conda and it might be worth noting that getting this command to run is taking an effort. |
@minrk I am debugging this at the moment, it seems that the code checking for presence of widgets 4.x works but loading the widgets themselves fails.
Is this a problem with the webpacking of the notebook? |
@wikiped we are certainly going to fix this issue with 4.x, but in any case updating to widgets 5.0 should fix your issue.
FYI, widgets 5.0 change the way you author custom javascript widgets. |
@SylvainCorlay Thank you. Installed 5.0.0 - problem is solved. |
No, notebook 4.2 should work with the version of widgets you had earlier. I am trying to fix this right now! |
@wikiped I'm glad that you were able to get it working with ipywidgets 5.0.0. |
I had the same issue after a clean jupyter install in a virtualenv. I upgraded to ipywidets=5.0.0 and I have my widgets again. However, there is still a (misleading) comment in the logs: $ jupyter notebook
/home/tvermeir/.pyenv/versions/3.5.1/envs/cce/lib/python3.5/site-packages/widgetsnbextension/__init__.py:30: UserWarning: To use the jupyter-js-widgets nbextension, you'll need to update
the Jupyter notebook to version 4.2 or later.
the Jupyter notebook to version 4.2 or later.""")
|
Trying to run this code in a notebook:
results in nothing.
After downgrading to notebook 4.1.0 the same code works as expected - widget is shown.
Installed packages:
Browser: Firefox 46.0
Errors in browser console:
Posting it here since the package "responsible" for the change in behavior seems to be
notebook
The text was updated successfully, but these errors were encountered: