Description
Hello. I am trying to use rgee. Installation went fine (as far as I ca tell).
I got to the point were I can run the following command and get the following output.
`>library(reticulate)
library(rgee)
ee_check()
◉ Python version
✔ [Ok] /Users/giulianocolosimo/.virtualenvs/rgee/bin/python v3.12
◉ Python packages:
✔ [Ok] numpy
✔ [Ok] earthengine-api
Error in if (!ee_current_version == ee_version()) { :
argument is of length zero`
The final error is not optimal, but I am not sure that is the issue. The issue starts when I run
`> ee_Initialize()
── rgee 1.1.7 ────────────────────────────────────────── earthengine-api 1.5.2 ──
✔ user: not_defined
✔ Initializing Google Earth Engine:To authorize access needed by Earth Engine, open the following URL in a web browser and follow the instructions. If the web browser does not start automatically, please manually browse the URL below.
https://code.earthengine.google.com/client-auth?scopes=https%3A//www.googleapis.com/auth/earthengine%20https%3A//www.googleapis.com/auth/cloud-platform%20https%3A//www.googleapis.com/auth/devstorage.full_control&request_id=qfNPqlzhk9kCpHUAL959D-I3jYFpKrIR0wVKCNPXJrE&tc=Iyi-aijA61UEaCAs5mfVya1vbRVotagqIK2isXNAKHY&cc=PVObJqr12l3x4VZis3Cl2ImGzHfk_UWIdSPgjoFtoAE
The authorization workflow will generate a code, which you should paste in the box below.
Enter verification code: ####################################################
Error in py_call_impl(callable, call_args$unnamed, call_args$named) :
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>
Run reticulate::py_last_error()
for details.
In addition: Warning messages:
1: 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.
2: 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.
`
I spent the last 36 hours reading blogs and doing stuff, including following this link, but without much success!
For the record, I am running R version 4.3.2 (2023-10-31) -- "Eye Holes"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)
Do you happen to know what may be the issue and how I can fix it?
Cheers