Open acharyaamul opened 3 months ago
I have the same problem, have you solved it? I really need a solution. Thanks!
I tried following code. install.packages("rgee") install.packages("reticulate") library(rgee) reticulate::py_available() reticulate::py_discover_config() rgee::ee_install_set_pyenv( py_path = "C:/Users/Lenovo/AppData/Local/r-miniconda/envs/rgee/python.exe", py_env= "rgee" ) # use your python path
rgee::ee_check() rgee::ee_install_upgrade()
rgee::ee_Initialize( user= "..............@gmail" # use your Gmail
)
I followed the video tutorial:https://www.youtube.com/watch?v=olNYYynSJfI&t=282s
Hello,
I am experiencing a persistent authentication issue with rgee and the Google Earth Engine Python API. Below are the details of the error and the steps I have already taken to try to resolve the issue:
Error Details When running the command rgee::ee_Initialize(drive = TRUE), I receive the following messages:
lua Copier le code ── rgee 1.1.7 ────────────────────────────────────────────────────── earthengine-api 1.3.0 ── ✔ user: not_defined ✔ Google Drive credentials: FOUND ✔ Initializing Google Earth Engine: DONE! Error in value[3L] : It looks like your EE credential has expired. Try running ee_Authenticate() again or clean your credentials ee_clean_user_credentials(). Additionally, I see warning messages suggesting that I should update the API to version v0.1.317 or greater, even though earthengine-api 1.3.0 is installed and should be compatible.
Steps Already Taken Cleaned rgee and Earth Engine credentials using rgee::ee_clean_user_credentials() and deleted the .config/earthengine folder. Completely reinstalled rgee and created a new Python environment with rgee::ee_install(). Reinstalled the recommended earthengine-api version 1.1.4 to ensure compatibility with rgee. Re-authenticated using rgee::ee_Authenticate() and confirmed OAuth permissions in my Google account. Despite these steps, the error persists, and I suspect the issue might be related to my Earth Engine account or an internal compatibility issue.
Could you please check if there are any restrictions on my account or if there’s an access issue with the API for rgee? Any assistance you could provide to help resolve this would be greatly appreciated.
Thank you very much for your help.
Best regards, Raphael Meldeke Guidkaya
I tried to ee_Initialize() rgee. I got the error message: ── rgee 1.1.7 ───────────────────────────────────────────────────── earthengine-api 0.1.415 ── ✔ user: not_defined ✔ Initializing Google Earth Engine: DONE! Error in value[3L] : It looks like your EE credential has expired. Try running ee_Authenticate() again or clean your credentials ee_clean_user_credentials(). I tried ee_clean_user_credentials() and again ee_Authenticate() . I still got the same error message again and again.