-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pm4py installation in R #8
Comments
Facing error--------- ModuleNotFoundError: No module named 'pm4py'****library(pm4py) ;library(bupaR); library(eventdataR) |
Can you try to install PM4Py with default and without specifying a Python Path? Also don't use Installing in the default environment, you simply need to use:
in a fresh R session. I don't really understand what you did initially as the error message is incomplete or the Github markdown formatting screwed it up. Can you please paste the full error message in a code block? |
Hi, I've got some problem installing pm4py. I'm using R version 4.0.5. After running
|
Facing the same issue as @WoshiSeven . Could you please look into it @fmannhardt ? |
Looking into the CRAN issue. On the |
Hi @fmannhardt, @maskegger, Do you mean Anaconda environment by the environment having Conda package? I bypassed the problem by installing pm4py using pip and using reticulate to call pm4py in rstudio. But it's just a bit inconvenient to have to refer to pm4py every time calling an object of it. |
The pm4py R package is just using reticulate to access the Python pm4py code. So, if you can access it directly it should also work with the pm4py R package. The whole installation procedure is a bit fragile as it really depends where it finds pmp4y on your system. Maybe try again if the pm4py R package just works now (without installation). |
Hi, @fmannhardt . I'm on Manjaro Linux. My first attempt was installing conda using reticulate. Then, I installed miniconda on the system and pointed the conda path, however I face the same issue.
@WoshiSeven Interested to know how you bypassed it. I tried using the same method as yours but I get the following error.
Presumably, this is due to pm4py python version has to be the same as R version? The python version I installed is 2.2.19.1. |
These are steps and error locations
install.packages("pm4py") #success
pm4py::install_pm4py() #this gave error
#1st Error-----------------------------------------
PackagesNotFoundError: The following packages are not available from current channels:
Current channels: - https://conda.anaconda.org/conda-forge/win-64 .... and more
#2nd error----------------------------
Error: one or more Python packages failed to install [error code 1].In addition: Warning message:
In value[3L] : Could not find
conda
environment, falling back to virtualenv ...I have full anaconda version installed in my system. this images show what installation I have in my windows laptop

---------------------- can you please guide in where I would be going wrong ----
The text was updated successfully, but these errors were encountered: