Marc, are you referring to these instructions?
https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation


On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote:

> So is Sage following those instructions during its build process?  The 
> docs do not say what those jupyter commands actually do.  They have 
> separate instructions for enabling the widgets when using a virtualenv.  Of 
> course Sage's venv is not a true virtualenv as created by venv, so it is 
> hard to know whether the virtualenv instruction apply for Sage or not.  But 
> given that the widgets worked before Sage switched to its virtualenv-like 
> venv I would guess that they do apply.
>
> It is unclear to me whether this is an issue with the packaging of the 
> SageMath app for macOS or whether it is an issue with Sage's build process, 
> which I follow when building Sage for the app.  It would be helpful to know 
> the meaning of the sentence "Most of the time, installing ipywidgets 
> automatically configures Jupyter Notebook to use widgets."
> Specifically, what does it mean to "configure Jupyter Notebook to use 
> widgets".
>
> - Marc
>
> On Tuesday, February 1, 2022 at 1:26:33 PM UTC-6 slelievre wrote:
>
>> 2022-02-01 15:13:27 UTC, Marc Culler:
>> >
>> > Thanks. And I can reproduce this. I see the error shown below
>> > in the Firefox Console. (I include it here in case anyone might
>> > recognize it).
>>
>>
>> There's an FAQ entry here
>>
>>
>> https://github.com/Wuliyuanulb/ComponentSDKDoc/blob/bfe53cf2162f62134356b58d7eae07e367044602/_build/_sources/faq.md.txt
>>
>> that reads
>>
>> > In browser F12 window, there is `Couldn't process kernel message`
>> > error in Console log. WrappedError message will be like:
>> > ```
>> > Error: Class jupyter.widget not found in registry at http://xxx
>> > ```
>> > This is because ipywidgets not correctly enabled in jupyter extension
>> > when using pip to install. Reinstall using conda will solve this issue.
>> > See [more details here](
>> https://ipywidgets.readthedocs.io/en/latest/user_install.html).
>> > ```
>> > conda install -c conda-forge ipywidgets
>> > ```
>>
>> And here are some more related discussions,
>> hoping there's something relevant to dig from them.
>>
>> https://github.com/Caltech-IPAC/firefly_widgets/issues/6
>> https://github.com/InsightSoftwareConsortium/itkwidgets/issues/207
>>
>> https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1319
>> https://github.com/jupyter-widgets/ipywidgets/issues/2569
>> https://github.com/jupyter-widgets/ipywidgets/issues/377
>> https://github.com/jupyterlab/jupyterlab/issues/4398
>> https://github.com/maartenbreddels/ipyvolume/issues/36
>> https://github.com/OpenGeoscience/geonotebook/pull/51
>> https://github.com/twosigma/beakerx/issues/6582
>>
>> Found by searching using this request
>>
>>
>> https://github.com/search?q=Class+jupyter.widget+not+found+in+registry&type=issues
>>
>> Not sure that helps at all, sorry.  --Samuel
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/26b228ed-ed16-400b-849c-7c3be030a413n%40googlegroups.com.

Reply via email to