I have Python=3.10.8
, jupyterlab=4.2.4
, jupyterlab_widgets=3.0.11
, ipywidgets=8.1.3
Importing basic ipywidgets
import ipywidgets as widgets
slider = widgets.IntSlider(value=5, min=0, max=10, step=1)
slider
results in Loading widget...
text and no widget. I have found this thread by googling and it seems to conclude that
- The message is not informative
- Widgets “do not seem to be supported” on jupyter-lab
So, if widgets are not supported, what is the point of jupyterlab-widgets
library? It clearly states that it enables support for widgets in jupyter-lab.
There is another thread dealing with exactly this issue. However, it has not seen much updates since the last 4 years, and many replies there state that the default solution has been outdated. Among others, this reply states that manually enabling extensions should no longer be necessary, and simply installing the ipywidgets library should be sufficient, which does not seem to work, at least in my case.
Does anybody know the current state of widgets in jupyter-lab?