If interested, a Docker image (for Mac OS X / Linux) is available on the Docker hub and could be retrieved through the command docker pull javert899/pm4py:latest . It could be run through the command docker run -it javert899/pm4py:latest bash
Otherwise, 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:
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:
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.
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.