'SymPy Not Doesn't Return LaTeX

Helloo!

So, I'm using SymPy to make a calculation for me. The trouble is, its output should be a LaTeX expression and in make case it prints something like

SymPy Calculation Output

Is there any way to solve this?

Thanks in advance!



Solution 1:[1]

You need to initialize the notebook to use latex.

Try this:

import sympy as sp
sp.init_printing()

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Davide_sd