English 中文(简体)
SymPy - Installation
  • 时间:2024-09-17

SymPy - Installation


Previous Page Next Page  

SymPy has one important prerequisite pbrary named mpmath. It is a Python pbrary for real and complex floating-point arithmetic with arbitrary precision. However, Python s package installer PIP installs it automatically when SymPy is installed as follows −


pip install sympy

Other Python distributions such as Anaconda, Enthought Canopy, etc., may have SymPy already bundled in it. To verify, you can type the following in the Python prompt −


>>> import sympy
>>> sympy.__version__

And you get the below output as the current version of sympy −

1.5.1

Source code of SymPy package is available at https://github.com/sympy/sympy.

Advertisements