Notebook widgets do not show up

I have Julia version 1.10.4 and the following packages installed in my work environment:
[61744808] DynamicalSystems v3.3.17
[7073ff75] IJulia v1.25.0
[c601a237] Interact v0.10.5
[91a5bcdd] Plots v1.40.5
[c3e4b0f8] Pluto v0.19.43
[0f1e0344] WebIO v0.8.21

I launch a Jupyter notebook, via:

using IJulia, Interact
notebook(dir=".")

When I try to use a widget, from within a cell in the notebook, from the Interact package:

ui = button()
display(ui)

nothing shows up at all :-(. Any suggestions?

Hi!
I’ve investigated this for myself recently. It seems that both Interact and WebIO have not been updated for a few years and are now incompatible with the latest versions of jupyter lab and notebook (since notebook 7, I believe, and since either jupytelab 3 or 4, I’m not sure). However, NbClassic works if that interface suits you. I have nbclassic 1.1.0 along with the following versions of jupyter related packages, all installed standalone:

# jupyter --version
Selected Jupyter core packages...
IPython          : 8.26.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.3
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
jupyter_server   : 2.14.1
jupyterlab       : 4.2.3
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.1
qtconsole        : 5.5.2
traitlets        : 5.14.3

Good luck!