pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

compiling and running the pm4py project #277

Closed mennaawael closed 3 years ago

mennaawael commented 3 years ago

can anyone tell me how can I run the project after I download it as a zip file from GitHub?

I have no coding skills so if anyone can explain what I should do step by step and the tools needed for the project I would be grateful.

fit-alessandro-berti commented 3 years ago

Dear mennaawael,

I invite you to look at the following two resources:

In general, you do not need to download the project from Github, but you can install PM4Py with "pip" and then use it in a Python interpreter, for example inside a Jupyter notebook ("pip install jupyter", then "jupyter notebook"). Please check the two aforementioned tutorials

mennaawael commented 3 years ago

thank you for the quick reply. I already have the pm4py package and I am using PyCharm for the execution. However, the package have a lot of files, what file specifically should I run in PyCharm ??

PS: I tried to run the init.py file and there were the error" NoModule named "PM4PY"

fit-alessandro-berti commented 3 years ago

Dear mennaawael,

If you installed PM4Py correctly with "pip", you should be able to open any Python project in Pycharm, create one Python file (for example called "test1.py", insert the rows:

import pm4py

and execute it. You do not need to open any specific file of the package

mennaawael commented 3 years ago

ok, should I open the new python project in Conda environment or Virtualenv or pipenv ( because I have to choose one in PyCharm)??