panel
panel copied to clipboard
Panel 0.13.1 not working in Jupyterlite
I was just trying out if the latest version of Panel works in Jupyterlite. It does not.
import piplite
await piplite.install(['bokeh', 'jupyter_bokeh', 'panel==0.13.1'])
import panel as pn
pn.extension()
slider = pn.widgets.IntSlider(value=0, start=0, end=10)
slider
I was expecting it to work because of https://twitter.com/PhilippJFR/status/1506070969491898369?s=20&t=9nmyNRWhBE4oDdzsssv8Rg
Its probably related to Uncaught (in promise) Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.4 is not registered as a
Uncaught (in promise) Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.4 is not registered as a`
I just tested with Panel 0.14.0. Now its a different error
Additional Context
A user is asking here about Panel in Jupyterlite https://discourse.holoviz.org/t/jupyterlite/4405
Will get a fix into 0.14.1 and then release this evening.
Still not working
The jupyter_bokeh
extension has to be bundled installed into the Jupyterlite:

i.e. to configure this you have to follow these instructions and add jupyter_bokeh
as a dependency:
https://jupyterlite.readthedocs.io/en/latest/howto/configure/simple_extensions.html
Try it out on https://panelite.holoviz.org/lab/index.html
I receive an error message: Couldn't find a pure Python 3 wheel for 'widgetsnbextension~=4.0'