Is there a simple way to use sympy in google colab?

361 views
Skip to first unread message

brombo

unread,
Mar 13, 2019, 2:23:00 PM3/13/19
to sympy
Is there a simple way to use sympy in google colab?


Nathan Goldbaum

unread,
Mar 13, 2019, 2:25:17 PM3/13/19
to sy...@googlegroups.com
Sympy is installed on colab out of the box, so "import sympy" should work :)

On Wed, Mar 13, 2019 at 1:23 PM brombo <abrom...@gmail.com> wrote:
Is there a simple way to use sympy in google colab?


--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b8db2e97-f35e-4de5-95b8-de9962c96138%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aaron Meurer

unread,
Mar 13, 2019, 2:48:34 PM3/13/19
to sy...@googlegroups.com
Unfortunately the LaTeX rendering does not work out of the box. You
have to do something like this to make it work
https://colab.research.google.com/github/jakevdp/colab-snippets/blob/master/SympyInColab.ipynb.
I've requested for them to improve it so that it works out of the box
like the normal notebook, but maybe it would help if they heard the
same feedback from others.

Also it could be relevant that the SymPy version on colab is old
(1.1.1). I don't know if it is possible to install a newer version.

Aaron Meurer
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAJXewO%3D8Wf2_d5q%2BnzG_WVB0_oRBMNHdBWiOX1qDoMM7a2k4FA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages