Jupyter Lab Sage menu

97 views
Skip to first unread message

Viviane Pons

unread,
Mar 6, 2024, 9:11:45 AM3/6/24
to Sage devel
Dear all,

I am working on a conda distribution of sage with jupyter lab. My conda environnement is only:

name: jupyter-sage

channels:
- conda-forge

dependencies:
- jupyterlab
- sage


It works fine. I can launch it with "jupyter lab" or "sage --notebook=jupyterlab". I noticed that I had access to a bunch of tutorial links in the help menu (which is great!) but somehow this menu appears and disappears in ways that I don't understand at all. Do you know how / when this menu appears?

I have attached two screenshots. The same worksheet with Sage kernel is opened in both. In one case, I have the menu, in the other not

(it looks like the menu appears when I first open the notebook but then, at some point, it just disappears and never comes back unless I restart jupyter lab entirely)

Best

Viviane
Capture d’écran du 2024-03-06 15-01-13.png
Capture d’écran du 2024-03-06 15-01-41.png

Dima Pasechnik

unread,
Mar 6, 2024, 11:11:37 AM3/6/24
to sage-...@googlegroups.com
Recent versions (10.3.*) of Sage have jupyterlab included,
so it's a bit hard to tell what exactly is going
on without seeing versions, etc.
Conda seems to provide sage 10.2.

It could be that installation of jupyterlab on top of
sage breaks something in the environment.

Using 10.3.rc2 might be a better way.


--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAPAYYh6W7XRuFrjb0xBABO3%3DmayqKrLnNZH6CSXVDgNUhr9CCQ%40mail.gmail.com.

Marc Culler

unread,
Mar 6, 2024, 9:20:00 PM3/6/24
to sage-devel
Viviane,

If you do a shift-reload (or whatever makes your browser clear its cache) does that make the menu come back?

- Marc

Marc Culler

unread,
Mar 6, 2024, 9:23:35 PM3/6/24
to sage-devel
It would also be a good idea to open the javascript console and see if there are errors being reported around the time when the menu disappears.

- Marc
Reply all
Reply to author
Forward
0 new messages