This tutorial is not valid anymore. PM4Py is not working anymore on Windows 32 bit since the 1.2.8 release.

Install a Windows C/C++ compiler

Since we are using some dependenices, e.g. ciso8604, you also need a C/C++ compiler. We suggest to install the Microsoft Visual Studio 2017 compiler, that available for free through the following link: Microsoft Visual Studio


During installation, it is vital to install all C++ related development tools. Note that this leads to a big download, i.e. around 6GB.

Install GraphViz

For the purpose of visualization with pm4py, GraphViz installation is required. To install GraphViz, the installer on this page could be used: GraphViz

After installation, GraphViz is located in the program files directory. The bin\ subfolder of the GraphViz directory needs to be added manually to the system path. For Windows 10, we suggest the following article in order to have an explanation of how to add a new folder to the system path: Adding a folder to the system path

Install Anaconda

A full Anaconda 5.2.0 (that is based on Python 3.6.x) installation is suggested. We cannot state that previous versions of Python will work out. Anaconda is a free and open source distribution of the Python programming language for data science and machine learning related applications. Click here to install Anaconda.

Then, install Anaconda. An important option in order to get easy access to Python from the command line / Powershell is setting the addition of Anaconda Python to the system path. pm4py requires additional packages to work. In order to install them, it is necessary to open a command line / Powershell and reach the folder that contains pm4py sources. An example of the instruction to reach a specific folder in a Windows environment is the following (the path should be replaced).

C:\>cd C:\Users\johndoe\pm4py-source

Install PM4Py

In order to install PM4Py and its dependencies, the following command should be executed:

pip install pm4py