Following the doc on providing hints to reticulate for finding & binding to Python3 on Centos. I have tried:
Setting the environment variable RETICULATE_PYTHON to /opt/anaconda3/bin/python
Setting the .Rprofile file in the user home directory as:
Sys.setenv(RETICULATE_PYTHON = "/opt/anaconda3/bin/python")
Restarting the Rsudio-Server
Log in and tried executing:
I have the virtualenv Python3 established. I can echo the RETICULATE_PYTHON environment variable in the IDE's terminal window. The .Rprofile file is shown in the IDE's Files tab.
The call to py_config() still returns Python2.7
How do I bind Python3 at /opt/anaconda3/bin/python as the target for the reticulate library with RStudio?
Thanks in advance,