Ask Your Question

Revision history [back]

Unfortunately that does not work with Jupyter.

That only works using the SageNB notebook, with Sage <= 9.1 compiled for Python 2.

To try it, use Sage 8.9 binaries or compile Sage 9.0 or 9.1 from source using

./configure --with-python=2

Unfortunately that does not work with Jupyter.

That Making it work with Jupyter is tracked at

So far, live documentation only works using with SageNB, which was the "Sage notebook" before the Jupyter notebook.

Unfortunately, the SageNB notebook, with notebook does not work with Python 3, so it is only available with versions of SageMath compiled for Python 2.

Sage <= 9.1 transitioned from Python 2 to Python 3 in the SageMath 8.x and 9.x versions:

  • SageMath 8.x versions were primarily Python 2 based, with growing Python 3 capability.
  • SageMath 9.x versions were primarily Python 3 based, with still an option to compile for Python 2 in SageMath 9.0 and 9.1.

Unless otherwise stated, SageMath binaries and installers are

  • based on Python 2 up to SageMath 8.9,
  • based on Python 3 starting from SageMath 9.0.

Building SageMath from source, there is a little more leeway:

  • the late SageMath 8.x could also be compiled for Python 2.

    To try it, use Sage 8.9 binaries or compile Sage 9.0 or 9.1 from source 3 using

    ./configure --with-python=3
    
  • the early SageMath 9.x could also be compiled for Python 2 using

    ./configure --with-python=2
    

On Windows, to get live documentation, use SageMath 8.9 (it can coexist with SageMath 9.2).

Download the installer from one of these locations (the installer you get from either location is the same):

Let's hope "live Sage documentation for Jupyter" will be available in a not too distant future.