Closed mocenigo closed 1 year ago
I don't know why it "seems" that way to you. It works for me. Did you install the extra package in the disk image, so that the SageMath jupyter kernel would become visible to jupyter-lab? What did you try? Your report doesn't say.
Well, I have installed both sagemath and the extra package. When I start the sagemath application, it still starts with the old jupyterlab. I have tried quite a few suggestions found on the net, like installing (on top of this) jupyterlab from within sage, and restarting it. Nothing. Mind you, something like the ability to choose Jupyterlab should to be an optional and obscure function, but something that is obvious from the starter application, like a button to press, or it is a UX fail.
This distribution tries not to include packages that can be installed with pip. But I don't think you should need to install (or reinstall) jupyterlab within sage. I just ran
pip install jupyterlab
(which, in my case, does a --user install). Then I ran the jupyter-lab executable. It started up and found the sage kernels installed on my system (9.8 and 10.0). I was able to open a sage worksheet. It even found the correct icons.
Is there some reason why you need to run a jupyterlab installed inside of sage, instead of just installing and using the current version of jupyterlab from pypi?
Our minimal startup GUI does support using either Terminal or iTerm (if installed) to run sage in a terminal window. I would be willing to consider allowing either jupyter or jupyterlab (if installed) for notebooks as well. But that would be an enhancement for the future and I don't know what would be involved in doing that.
The enhancement suggested here has been implemented in the new pre-release of SageMath 10.1 for macOS. Please give it a try and let us know how it goes.
It works nicely here, and it also remembers the previous choice! neat!
Great! Thanks for the suggestion.
Hi, it seems that there is no way to run this with JupyterLab?