Open ajwheeler opened 1 year ago
I have the same issue. WebIO is installed, but I cannot get it to work on julia 1.9.0-rc2
Same issue here. Even went through the process as mentioned using venv
python3 -m venv venv
. venv/bin/active
pip install notebook jupyterlab webio_jupyter_extension
Locations
pip3 show jupyterlab | grep -i location Location: /Users/gani/Desktop/3c3bc877ab1b5096232586cfbba0ef8b-8b6f0a4221066849f2c54ac28ce422c68796340e/venv/lib/python3.10/site-packages
pip3 show webio_jupyter_extension | grep -i location Location: /Users/gani/Desktop/3c3bc877ab1b5096232586cfbba0ef8b-8b6f0a4221066849f2c54ac28ce422c68796340e/venv/lib/python3.10/site-packages
In Jupyter lab
The WebIO Jupyter extension was not detected. See the WebIO Jupyter integration documentation for more information.
Is there any progress in this matter? Facing the same issue using Julia 1.9.3.
Same issue with:
jupyterlab
(3.6.7) jupyterlab_vim
, and webio-jupyter-extension
(0.1.0).I see the following when starting Jupyter lab:
[I 2024-04-17 16:28:39.428 ServerApp] webio_jupyter_extension.serverextension | extension was successfully linked.
which suggests it should be working. I also see
WebIO is registering SystemJS window global.
in the Chrome development console. However I still get the "WebIO not detected" message. It is however working in the "Classic Notebook" view.
This might be more relevant in the PlotlyJS-specific issue, but I'm putting it here after my previous comment:
After much trial and error I have figured out how to get this working reliably.
jupyterlab
with pip, not conda. The WebIO troubleshooting page emphasizes that it and webio_jupyter_extension
need to be in the same place.ipywidgets>=7.6
in addition to Jupyter lab.jupyter labextension install jupyterlab-plotly
(which is deprecated for Jupyter Lab 3), installed the plotly package with pip in the jupyter lab environment. This installs the jupyterlab-plotly
extension correctly itself.pyzmq
with pip (jupyterlab
dependency, unrelated to WebIO).The following creates the conda env for the Jupyter Lab server that works for me:
conda create -n jupyterlab3 python=3.11
conda activate jupyterlab3
pip install 'jupyterlab>=3,<4' 'ipywidgets>=7.6' plotly webio_jupyter_extension
Installing the plotly
Python package in the same environment as Jupyter Lab appears to be critical, repeating the same steps without that gives me the "WebIO not detected" message when using PlotlyJS in a Julia kernel.
When I install the webio jupyter extension, everything seems to work:
But it doesn't show up in the list of extensions:
This isn't an issue with user vs global installs:
As far as I've been able to tell, this isn't a duplicate issue. I suspect I'm doing something stupid, but I can't figure out what. Any ideas?