1 | initial version |
If you are using Jupyter notebooks, be aware that
The good practice is to make sure to "Close and halt" each worksheet when done with it, as that will terminate the corresponding Sage session.
2 | No.2 Revision |
If you are using Jupyter notebooks, be aware that
The good practice is to make sure to "Close and halt" each worksheet when done with it, as that will terminate the corresponding Sage session.
If you are using JupyterLab, the interface lets you more easily - spot which Jupyter workhseets still have an active kernel (ie associated Sage session). - stop those kernels one by one - or "stop all kernels"
To install JupyterLab if you haven't yet: - if you installed Sage with a package manager, use that package manager to install JupyterLab too - if you built Sage from source or installed with binaries from the Sage download page, - open a Sage session and type
sage: !pip install jupyterlab
Then to use it, run one of the following two commands in a terminal:
$ sage --jupyter lab
$ sage -n jupyterlab
3 | No.3 Revision |
If you are using Jupyter notebooks, be aware that
The good practice is to make sure to "Close and halt" each worksheet when done with it, as that will terminate the corresponding Sage session.
If you are using JupyterLab, the interface lets you more easily
- easily
To install JupyterLab if you haven't yet:
- yet:
if you built Sage from source or installed with binaries from the Sage download page,
- open a Sage session and type
sage: !pip install jupyterlab
Then to use it, Sage in JupyterLab, run one of the following two commands in a terminal:
$ sage --jupyter lab
$ sage -n jupyterlab
Or if your system-wide Jupyter installation has Sage, this should work too
$ jupyter lab
4 | No.4 Revision |
If you are using Jupyter notebooks, Things to be aware thatof when using Jupyter notebooks:
The good practice is to make sure to "Close and halt" each worksheet when done with it, as that will terminate the corresponding Sage session.
If you are using JupyterLab, the interface lets you more easily
To install JupyterLab if you haven't yet:
if you built Sage from source or installed binaries from the Sage download page, open a Sage session and type
sage: !pip install jupyterlab
Then to use Sage in JupyterLab, run one of the following two commands in a terminal:
$ sage --jupyter lab
$ sage -n jupyterlab
Or if your system-wide Jupyter installation has Sage, this should work too
$ jupyter lab