Mac OS X

For Mac OS X, an installation of Anaconda 5.2.0 or Miniconda 4.5.4 (containing Python 3.6.x) is suggested.

Anaconda 5.2.0 (if not already installed; it is not necessary if Miniconda is installed) for Mac OS X 64 bit could be retrived using the following URL:

https://repo.anaconda.com/archive/Anaconda3-5.2.0-MacOSX-x86_64.pkg

Miniconda 4.5.4 (if not already installed; it is not necessary if Anaconda is installed) for Mac OS X 64 bit could be retrived using the following URL:

https://repo.anaconda.com/miniconda/Miniconda3-4.5.4-MacOSX-x86_64.pkg

Important: the compatibility with successive versions of Python 3.x (for example Python 3.7), or with other Python distributions, or with other versions of Anaconda/Miniconda, is not excluded a priori, but in this installation tutorial we do not support this. We exclude a priori compatibility with previous versions of Python, like for example Python 3.4.x and Python 3.5.x

In order to install PM4Py and its dependencies, the following command could be provided:

pip install pm4py

Testing pm4py after installation

The following command could be provided to test if PM4Py has been installed correctly:

python -c "import pm4py"

If no error occurs during the execution of the script, then everything is installed correctly.