Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

How to Install Python sympy in Windows?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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:

Installing Sympy on Windows:

For Conda Users:

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 conda

Make sure you follow the best practices for installation using conda as:

  • Use an environment for installation rather than in the base environment using the below command:
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

For PIP Users:

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 PIP

Verifying Sympy Module Installation:

To verify if Sympy has been successfully installed in your system run the below code in a python IDE of your choice:


import sympy

If successfully installed you will get the following output.

verifying sympy installation

My Personal Notes arrow_drop_up
Last Updated : 09 Sep, 2021
Like Article
Save Article
Similar Reads
Related Tutorials