bokeh / jupyter_bokeh

An extension for rendering Bokeh content in JupyterLab notebooks
BSD 3-Clause "New" or "Revised" License
253 stars 48 forks source link

Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.2 is not registered as a widget module #134

Closed MarcSkovMadsen closed 2 years ago

MarcSkovMadsen commented 3 years ago

jupyter-bokeh: 3.0.2 jupyterlab: 3.0.16 panel: 0.11.3

I am trying to get Panel working inside VS Code (code-server) on a Jupyter Hub. But I get the error

Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.2 is not registered as a widget module

It's related to this issue. Where I could get it working when starting from a fresh environment https://github.com/bokeh/jupyter_bokeh/issues/131

image

The problem here is that I am not in control of the base environment which all users of the jupyter hub are using.

MarcSkovMadsen commented 3 years ago

I tried creating a fresh conda environment panelvs via conda create -n panelvs -c conda-forge panel jupyter_bokeh param

But the problem persists

image

bryevdv commented 3 years ago

This seems to be an error message that has plagued many different projects. From a glance it always seems to come down to some dependency change. The NPM module is the same as it was before, so what else has changed? Have you compared jupyter-lab and other package versions to what was working before?

coryjmaklin commented 2 years ago

Did you find a resolution? Widgets do not work for me, and I'm seeing a similar message. Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.4 is not registered as a widget module Versions: jupyterlab 3.1.12 bokeh 2.3.3 jupyter-bokeh 3.0.4

MarcSkovMadsen commented 2 years ago

I've not had the problem for a while. I don't remember the cause or solution though.

bryevdv commented 2 years ago

Closing this as stale since it has not been reproducible, and everything I can find online for other projects about it seems to pointing ultimately to some version incompatibilities in the environment.