Open
Description
In the environment launched from this repo / Github Pages site, I can %pip install jupyter_anywidget_pglite
and run it:
%load_ext jupyter_anywidget_pglite
from jupyter_anywidget_pglite import pglite_headless
pg = pglite_headless()
Wait a bit for things to settle, then in a new cell run: pg.about
But If I try to install the package into my own environment at https://github.com/innovationOUtside/jupyter_anywidget_pglite / https://innovationoutside.github.io/jupyter_anywidget_pglite/lab/index.html I get an error suggesting anywidget is not available in the parent environment (I think)?
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'AnyModel' from module 'anywidget'
Error: Module anywidget, version ~0.9.* is not registered, however, 0.1.2 is
at f.loadClass (https://innovationoutside.github.io/jupyter_anywidget_pglite/extensions/@jupyter-widgets/jupyterlab-manager/static/446.bf169bd3821a9ba1aa62.js?v=bf169bd3821a9ba1aa62:1:75484)
at f.loadModelClass (https://innovationoutside.github.io/jupyter_anywidget_pglite/extensions/@jupyter-widgets/jupyterlab-manager/static/327.8166aeb81cf1531ca240.js?v=8166aeb81cf1531ca240:1:10579)
I am installing anywidget
in the jupyterlite env via a requirements.txt file, but am obviously missing a trick somewhere?
Metadata
Assignees
Labels
No labels