How to check the current version of sympy and upgrade to the latest version?

MAS picture MAS · Apr 23, 2015 · Viewed 9.4k times · Source

How to check the current version of SymPy and upgrade to the latest version?

I am using macOS. The way I installed my current version is using pip install sympy.

Answer

Sudhanshu Mishra picture Sudhanshu Mishra · Apr 23, 2015

To check the current version of sympy:

In [6]: import sympy

In [7]: sympy.__version__
Out[7]: '0.7.6-git'

For stable release:

$ pip install --upgrade sympy

For latest features:

$ pip install --upgrade git+ssh://[email protected]/sympy/sympy.git