Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Issues with interact - can't load widgets

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?