Closed bmaranville closed 7 months ago
Thanks for trying out anywidget. It works in JupyterLite, but it must be installed in JupyterLite distribution (and not within the running notebook). i.e., you can't %pip install anywidget
without anywidget
already being installed. This is related to #385.
@jtpio has compiled a version of JupyterLite where this is working. You can try it out here. The issue is that the %pip install anywidget
command is out of date and needs to be %pip install anywidget==0.9.2
to sync with the correct version the build @jtpio created used.
@jtpio, I wonder if it would be possible to use a CDN-based HTMLManager in JupyterLite, to avoid this issue (and allow users to install different version of anywidget).
Thanks! I'll be setting up my own deployment following the example of @jtpio
I wonder if it would be possible to use a CDN-based HTMLManager in JupyterLite, to avoid this issue (and allow users to install different version of anywidget).
Not sure it's possible at the moment, as it might need something like https://github.com/jupyterlab/jupyterlab/issues/8866, or more generally a way to load plugins from remote places.
Specifically, I was wondering if I could try to swap something alternative to https://github.com/jupyter-widgets/ipywidgets/tree/b78de43e12ff26e4aa16e6e4c6844a7c82a8ee1c/python/jupyterlab_widgets
Steps to reproduce:
Javascript error: