Issues with interact - can't load widgets

asked 2024-01-11 01:15:38 +0200

Alasdair gravatar image

I'm running Sagemath 10.2.1 in Jupyter (and JupyterLab 4.0.10-1) in a newly upgraded system running ArchLinux. However, I'm unable to use interact. I have both jupyterlab-widgets and python-ipywidgets installed, but in using a interactive cell, all I get is an initial picture - corresponding to the default setting of a slider - and then the text "Loading widget..."

I have loaded interact with from sage.repl.ipython_kernel.interact import interact, and I have tested in two different browsers (Vivaldi and Firefox), and with my own code as well as code copied from some of the Sage interactive examples. In all cases the widgets fail to load, and the system sits at "Loading widget..."

I'm not sure what else I should be doing, either in the browser, or in my system, or in my jupyter notebook. Hence my posting here - in the hope that somebody may advise me? How can I run interactive widgets?

edit retag flag offensive close merge delete

Comments

Could you launch Sge-with-Jupyter from a console (by typing sage -n jupyterin a terminal window) and report the error messages appearing when you launch the interactive graphics celle ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2024-01-16 18:31:26 +0200 )edit