pm4py (version 1.2.7)

install_pm4py: Install PM4PY library

Description

Installs the pm4py package and its dependencies using pip since no Conda package is available. Further information on the parameters can be found in the reticulate package documentation: https://rstudio.github.io/reticulate/ In some cases (multiple Python versions installed) it might be useful to specify the exact path to the conda binary.

Usage

install_pm4py(method = "auto", conda = "auto", ...)

Arguments

method

Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows.

conda

Path to conda executable (or "auto" to find conda using the PATH and other conventional install locations).

...

Additional arguments passed to py_install().

Details

Additional requirements (a C++ compiler and GraphViz) of PM4PY might need to be installed to leverage all functionality; http://pm4py.pads.rwth-aachen.de/installation/

Examples

Run this code
# NOT RUN {
  pm4py::install_pm4py()

  # Specify path to conda
  pm4py::install_pm4py(method = "conda", conda = "/home/user/miniconda3/bin/conda")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab