in the last few hours I tried to initialize rgee in R, but nothing I tried seemed to work.
Mainly I was following what ChatGPT told me. I tried using the function in the package, like ee_install, py_install.
The only time it worked, I specified that I want to download the 0.1.370 version of the ee api, by
reticulate::py_install('earthengine-api==0.1.370', envname = rgee_env_dir)
, but today whichever version I tried I always got the error that I need to use ee_Authenticate again
I also tried with the newest api version which is 1.1.0, but the only thing that changed was, whichever ee function used, I always got this warning “In ee_check_init() :
Update your earthengine-api installations to v0.1.317 or greater. Earlier versions are not compatible with recent changes to the Earth Engine backend.”
As my last try I followed this tutorial on youtube step by step https://youtu.be/1-k6wNL2hlo?si=cXF3XnkMnkVzh25b but nothing changed at all
In case you want to see the exact message I get when running ee_Initialize(), I could spam ee_Authenticate all day, will not work.
── rgee 1.1.7 ────────────────────────────────────────────────────────────────────────── earthengine-api 1.1.0 ──
✔ user: my email adress
✔ Initializing Google Earth Engine: DONE!
Error in value[[3L]](cond) :
It looks like your EE credential has expired. Try running ee_Authenticate() again or clean your credentials ee_clean_user_credentials().```