![]() |
VOOZH | about |
Sympy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is written entirely in Python. SymPy only depends on mpmath, a pure Python library for arbitrary floating-point arithmetic, making it easy to use.
In this article, we will look into various methods of installing Sympy on Windows.
The only thing that you need for installing Sympy module on Windows are:
If you want the installation to be done through conda, you can use the below command:
conda install sympy
Type y for yes when prompted.
You will get a similar message once the installation is complete
👁 installing sympy using condaMake sure you follow the best practices for installation using conda as:
conda create -n my-env conda activate my-env
Note: If your preferred method of installation is conda-forge, use the below command:
conda config --env --add channels conda-forge
Users who prefer to use pip can use the below command to install Sympy package on Windows:
pip install sympy
You will get a similar message once the installation is complete:
👁 installing sympy using PIPTo verify if Sympy has been successfully installed in your system run the below code in a python IDE of your choice:
If successfully installed you will get the following output.
👁 verifying sympy installation