location: SageMath

Institute of Mathematics - PublicMathWiki:

Sage Math

To start Sage with a Jupyter notebook: type in a terminal

sage '-n jupyter --ip=`hostname`'

It should produce an output similar to the one below

┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.4, Release Date: 2021-08-22                     │
│ Using Python 3.9.5. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
Please wait while the Sage Jupyter Notebook server starts...
[I 09:02:39.440 NotebookApp] Serving notebooks from local directory: /home/b/<your-name>
[I 09:02:39.440 NotebookApp] Jupyter Notebook 6.1.1 is running at:
[I 09:02:39.440 NotebookApp] http://olive:8888/?token=<a-very-long-token>
[I 09:02:39.440 NotebookApp]  or http://127.0.0.1:8888/?token=<a-very-long-token>
[I 09:02:39.440 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 09:02:39.957 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///home/b/<your-name>/.local/share/jupyter/runtime/nbserver-<notebook-id>-open.html
    Or copy and paste one of these URLs:
        http://olive:8888/?token=<a-very-long-token>
     or http://127.0.0.1:8888/?token=<a-very-long-token>

Open either of the links file:///... or http://olive:8889/... by clicking on it with right button and selecting _Open link_ from the menu.

Note Do not use http://127.0.0.1:8889/... - this link will not work!

PublicMathWiki: SageMath (last edited 2023-07-12 07:06:29 by kputyr)