if (FALSE) {
library(rgee)
## IMPORTANT: Change 'py_path' argument according to your own Python PATH
## For Anaconda users - Windows OS
## OBS: Anaconda Python PATH can vary, run “where anaconda” in console.
# win_py_path = paste0(
# "C:/Users/UNICORN/AppData/Local/Programs/Python/",
# "Python37/python.exe"
# )
# ee_install_set_pyenv(
# py_path = win_py_path,
# py_env = "rgee" # Change it for your own Python ENV
# )
## For Anaconda users - MacOS users
# ee_install_set_pyenv(
# py_path = "/Users/UNICORN/opt/anaconda3/bin/python",
# py_env = "rgee" # Change it for your own Python ENV
# )
#
## For Miniconda users - Windows OS
# win_py_path = paste0(
# "C:/Users/UNICORN/AppData/Local/r-miniconda/envs/rgee/",
# "python.exe"
# )
# ee_install_set_pyenv(
# py_path = win_py_path,
# py_env = "rgee" # Change it for your own Python ENV
# )
## For Miniconda users - Linux/MacOS users
# unix_py_path = paste0(
# "/home/UNICORN/.local/share/r-miniconda/envs/",
# "rgee/bin/python3"
# )
# ee_install_set_pyenv(
# py_path = unix_py_path,
# py_env = "rgee" # Change it for your own Python ENV
# )
## For virtualenv users - Linux/MacOS users
# ee_install_set_pyenv(
# py_path = "/home/UNICORN/.virtualenvs/rgee/bin/python",
# py_env = "rgee" # Change it for your own Python ENV
# )
## For Python root user - Linux/MacOS users
# ee_install_set_pyenv(
# py_path = "/usr/bin/python3",
# py_env = NULL,
# Renviron = "global" # Save ENV variables in the global .Renv file
# )
# ee_install_set_pyenv(
# py_path = "/usr/bin/python3",
# py_env = NULL,
# Renviron = "local" # Save ENV variables in a local .Renv file
# )
}
Run the code above in your browser using DataLab