Widgets dont display in jupyter lab
See original GitHub issueSorry if this post is a duplicate of something, I tried to search pretty thoroughly but there are a lot of open and closed issues.
We are running jupyterlab through jupyterhub, and can’t get widgets to display. Two different users have the same display issue, but get different errors.
The code run by both is as a test is
import ipywidgets as widgets
widgets.IntSlider()
One user (me) gets no output from the cells, but gets the following in the browser console:
Uncaught (in promise) Error: Object 'ipython.widget' not found in registry
at default.js:1443
at new Promise (<anonymous>)
at Object.k [as loadObject] (default.js:1422)
at e._handleCommOpen (default.js:913)
at WebSocket._onWSMessage (default.js:136)
The other user gets the output below the cell of
javascript output is disabled in jupyterlab
to install the extension, the following was run
jupyter labextension install @jupyter-widgets/jupyterlab-manager
python version 3.6.4, jupyterhub 0.8, jupyterlab was installed yesterday, not sure on the version number but its the newest.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Widget not displaying in Jupyter Lab (not Anaconda) #2065
I have installed Jupyter Lab and Jupyter Notebook independently, NOT using Anaconda, and ipywidgets does not work in the Lab, but it does...
Read more >How to get ipywidgets working in Jupyter Lab? - Stack Overflow
Switch to new kernel, now jupyterlab recognized ipywidgets as installed, but widgets are not working (only displays text widget description), ...
Read more >Jupyter notebook widgets not displaying - Jetson Nano
I have a Nano with a fresh Jetpack 4.5.1 on and Docker container l4t-ml:r32.5.0-py3. When i use widgets like: import ipywidgets as widgets...
Read more >Widget not rendering on JupyterLab examples
Widget not rendering on JupyterLab when running main.py on examples/app and examples/notebook. Go to root folder after cloning GitHub - jupyterlab/jupyterlab: ...
Read more >Issue with stackview inside JupyterLab - "Error displaying widget
I installed stackview from cmd and restarting everything did not help. The code itself is rather short: from skimage.io import imread import ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apparently we installed 4.1.0. Is there an argument I can pass to jupyter labextension install to get npm to find the newest version when we run the command
Got it. Updating my personal kernel’s ipywidgets did the trick, thanks! I’ll close the issue.