把它放在这里,主要是为了让我找到一个解决方案,我可以把它放在这里为其他人。我试图使用包rgee与谷歌地球引擎通过R/Rstudio接口。我已经下载了rgee和install.packages("rgee", dependencies = T)。但是,当预期的授权窗口打开时,运行ee_Initialize()就会声明:
Error 400: invalid_request
The version of the app you're using doesn't include the latest security features to keep you protected.
Please make sure to download from a trusted source and update to the latest, most secure version.有关这个问题和类似的错误,在瑞吉的github没有导致任何解决方案为我。一旦我搞清楚了,我会更新这篇文章的。
### R/python packages
R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Python 3.8
rgee_1.1.3
reticulate_1.25
### system
2020 MacBook Pro M1 Monterey 12.4
R Studio 2022.07.0 Build 548发布于 2022-07-12 09:14:55
发布于 2022-09-13 07:24:50
另外,安装gcloud (Windows)为我解决了这个问题:https://cloud.google.com/sdk/docs/install
那么,这应该是可行的:
ee_install
ee_install_set_pyenv
ee_install_upgrade
ee_Initialize
## R version 4.2.1
## Python v3.9
## rgee_1.1.4
## reticulate_1.26https://stackoverflow.com/questions/72943193
复制相似问题