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 venv to create isolated Python environment first, instead of installing everything system-wide.
If you are a developer or like to get the latest updates as they come, be sure to install from git:
$ git clone git://github.com/diofant/diofant.git $ cd diofant $ pip install -e .[develop,docs]
Diofant requires setuptools for installation from sources.
To verify that your freshly-installed Diofant works, please start up the Python interpreter and execute some simple statements like the ones below:
>>> from diofant.abc import x >>> ((1 + x)**(1/x)).limit(x, 0) E
For a starter guide on using Diofant, refer to the Tutorial.