Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ML-Flow installation in R

Tags:

r

ubuntu

mlflow

I have installed MLFLOW for R in my ubuntu environment. When I try to execute any command for mlflow I am getting below error

mlflow_ui() Error in rethrow_call(c_processx_exec, command, c(command, args), stdin, : cannot start processx process (system error 2, No such file or directory) @unix/processx.c:573

like image 561
digvijay Avatar asked Oct 10 '19 10:10

digvijay


1 Answers

You can install MLFlow separately using pip and then specify the variables in your ~/.Renviron. If you don't have a .Renviron file, create one. (Checkout out help("Startup") in R for more info).

The environment variables you need to set in the .Renviron file are:

MLFLOW_PYTHON_BIN and MLFLOW_BIN. These need to set to the location of your python executable and mlflow executable.

Simply get those by running which python and which mlflow after installing mlflow with pip.

Make sure to restart Rstudio (perhaps try removing mlflow and re-installing the package).

Then there will be no need to run mlflow::install_mlflow().

like image 131
Vivek Katial Avatar answered Oct 14 '22 03:10

Vivek Katial