Specify reticulate python path in RETICULATE_PYTHON environment variable

Solution 1:

When faced similar issue I solved it by specifying Python configuration before loading the reticulate package:

Sys.setenv(RETICULATE_PYTHON = "C:\\ProgramData\\Anaconda3")
library(reticulate)