Cannot use virtual environment (python) in rstudio (provided by package reticulate)
I run the code:
library(reticulate)
#Environment already created
use_condaenv("env_ret")
py_config()
And get the output:
python: C:\PROGRA~1\ANACON~1\python.exe
libpython: C:/PROGRA~1/ANACON~1/python37.dll
pythonhome: C:\PROGRA~1\ANACON~1
version: 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)]
Architecture: 64bit
numpy: C:\PROGRA~1\ANACON~1\lib\site-packages\numpy
numpy_version: 1.15.4
python versions found:
C:\Program Files\Anaconda3\envs\env_ret\python.exe
C:\PROGRA~1\ANACON~1\python.exe
C:\Program Files\Anaconda3\python.exe
C:\Program Files\Anaconda3\envs\my-env\python.exe
This means that even though i set the path to the virtual environment (create in conda), the machine continues to assume the "C:\PROGRA~1\ANACON~1\python.exe" path (the one by default).
RSTUDIO version: 1.2.1335 R version: 3.6.1 Python: 3.7.1
Thanks for your attention