r-spatial / rgee

Google Earth Engine for R
https://r-spatial.github.io/rgee/
Other
668 stars 146 forks source link

Error loading rgee library #337

Open Jfgrass opened 1 year ago

Jfgrass commented 1 year ago

Attach your Python (reticulate) configuration:

library(reticulate)
py_config()

library(reticulate) py_config() python: C:/Users/Jesus/AppData/Local/r-miniconda/envs/r-reticulate/python.exe libpython: C:/Users/Jesus/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll pythonhome: C:/Users/Jesus/AppData/Local/r-miniconda/envs/r-reticulate version: 3.8.16 | packaged by conda-forge | (default, Feb 1 2023, 15:53:35) [MSC v.1929 64 bit (AMD64)] Architecture: 64bit numpy: C:/Users/Jesus/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy numpy_version: 1.24.3

Description

I am trying to load rgee library but I get the error below. Yesterday I installed and loaded the package correctly and initialized the session with no issue. But today I am unable to load the library due to this issue. I have made no changes in R since the last time I used rgee. Many thanks in advance.

> library(rgee)
Error: package or namespace load failed for ‘rgee’:
 .onLoad failed in loadNamespace() for 'rgee', details:
  call: NULL
  error: ModuleNotFoundError: No module named 'ee'
andrew-caudillo commented 1 year ago

I am running into a similar issue, except rgee loads, but no function from the ee_ family works because the package is not recognizing the required packages (earthengine, for example) are present.