Ask Your Question

Revision history [back]

show() for equations is not working

This might be a recurrent problem with Sagemath since I saw a previous question and its answer. That answer does not work in my case.

I just want to see equations rendered since it is easier to see if they are correct. The previous answer told us to add a sys. stdout.flush() command line after each show

  1. import sys
  2. sys.stdout.flush()
  3. var("x y z ")
  4. show(x**2)

This does not work in my system.

Linux mp74207-MS-7A34 6.5.0-21-generic 21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Ubuntu 22.04

I refreshed all packages containing Sagemath 9.5 (that is the current version available in the repository).

apt search sagemath Sorting... Done Full Text Search... Done cantor-backend-sage/jammy 4:21.12.3-0ubuntu1 amd64 Sage backend for Cantor

libpynac-dev/jammy 0.7.29-2 amd64
Engine for symbolic geometric calculus for Python (development files)

libpynac18py3/jammy 0.7.29-2 amd64
Engine for symbolic geometric calculus for Python

maxima-sage/jammy,now 5.45.1-2 amd64 [installed,automatic] Computer algebra system -- base system

maxima-sage-doc/jammy,jammy,now 5.45.1-2 all [installed,automatic] Computer algebra system -- documentation

maxima-sage-share/jammy,jammy,now 5.45.1-2 all [installed,automatic] Computer algebra system -- extra code

python3-sage/jammy,now 9.5-4 amd64 [installed,automatic] Open Source Mathematical Software - Python 3 library

python3-sagetex/jammy,jammy,now 3.6+ds-2 all [installed,automatic] Embed Sage code and plots into LaTeX -- Python 3

rubiks/jammy 20070912-5build1 amd64
Small collection of Rubik's cube solvers

sagemath/jammy,jammy,now 9.5-4 all [installed] Open Source Mathematical Software

sagemath-database-conway-polynomials/jammy,jammy,now 0.5-8 all [installed,automatic] Database of Conway polynomials

sagemath-database-cremona-elliptic-curves/jammy,jammy 0~20191029-4 all Databases of elliptic curves over the rationals

sagemath-database-elliptic-curves/jammy,jammy,now 0.8.1-5 all [installed,automatic] Databases for elliptic curves

sagemath-database-graphs/jammy,jammy,now 20210214+dfsg-1 all [installed,automatic] Databases of graphs

sagemath-database-mutually-combinatorial-designs/jammy,jammy,now 20140630-6 all [installed,automatic]
Databases of combinatorial designs

sagemath-database-polytopes/jammy,jammy,now 20170220-5 all [installed,automatic]
Databases of polytopes

sagemath-doc/jammy,jammy,now 9.5-4 all [installed,automatic] Open Source Mathematical Software - documentation

sagemath-jupyter/jammy,jammy,now 9.5-4 all [installed,automatic] Open Source Mathematical Software - Jupyter kernel

sagetex/jammy,jammy,now 3.6+ds-2 all [installed,automatic] Embed Sage code and plots into LaTeX

sagetex-doc/jammy,jammy 3.6+ds-2 all
Embed Sage code and plots into LaTeX -- doc

Any help would be welcome.

Thanks