ipywidgets stuck at "Loading widget..." in JupyterLab
See original GitHub issueI’ve been dealing with this problem the past few days. I’ve scoured past issues and tried all of the different solutions, but none of them have worked for me. I’m running JupyterLab on a remote server running Ubuntu Server 18.04 which I connect to through local port forwarding using Chrome.
import ipywidgets as widgets
widgets.IntSlider()
Results in “Loading widget…” without actually displaying the widget.
When I inspect the chrome console I see a number of errors like this.
I’ve tried using my default pip environment and an anaconda environment. Both have resulted in the same thing. When I run the code as an ipynb in standard Jupyter, I am able to see the widget. Any advice here?
Relevant info: Remote Server: Ubuntu Server 18.04 Local: Windows 10 using Chrome jupyter core: 4.6.1 jupyter notebook: 6.0.2 jupyter lab: 1.2.3 ipywidgets: 7.5.1 nodejs: 8.10.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:25 (11 by maintainers)
Top GitHub Comments
Just to confirm I have the same issue, not working in jupyter lab but working in notebook
Ah, that’s the issue. The console doesn’t support widgets, just the notebook.