Fetching contributors…
Cannot retrieve contributors at this time
75 lines (48 sloc) 1.79 KB


The Diofant can be installed on any computer with Python 3.5 or above. You can install latest release with pip:

$ pip install diofant

or to install also extra dependencies:

$ pip install diofant[gmpy,plot]


Use :mod:`venv` to create isolated Python environment first, instead of installing everything system-wide.

From Sources

If you are a developer or like to get the latest updates as they come, be sure to install from git:

$ git clone git://
$ cd diofant
$ pip install -e .[develop,docs]


Diofant requires setuptools for installation from sources.

Run Diofant

To verify that your freshly-installed Diofant works, please start up the Python interpreter and execute some simple statements like the ones below:

>>> from import x
>>> ((1 + x)**(1/x)).limit(x, 0)


Use IPython for interactive work. Please refer to the documentation of module :mod:`~diofant.interactive` for details of available configuration settings.

For a starter guide on using Diofant, refer to the :ref:`tutorial`.

Also, you may want to run full set of unit tests to make sure everything works:

$ py.test --pyargs diofant

pytest and some other packages are required for testing, so be sure to install the Diofant first with extra dependecies:

$ pip install diofant[tests]


If you think there's a bug, you have a question or you would like to request a feature, please :ref:`open an issue ticket <reporting-issues>`.