Closed ChenTaHung closed 3 years ago
Have You tried reinstalling shapper from CRAN and restarting RStudio before loading shapper in? If so, before attaching shapper make sure reticulate uses python virtual env that has shap library installed. reticualate::use_condae("env_name", required = TRUE
may be helpful.
Just solved it after restart RStudio. Thanks!
The message in the console showed like this. I have tried installing from CRAN or from Github and both way installed successfully. I also installed numpy and pandas with
reticulate::py_install
function. Everything seems all right, but got an error while requiring it. Below is the error messagethank you for your reply.