Closed CerebralMastication closed 2 years ago
It looks like this may be an issue with an outdated version of boto3
... https://github.com/boto/boto3/issues/1242
this is odd to me because I just installed boto3
remotes::install_github("dyfanjones/rathena")
RAthena::install_boto(method="conda", envname = "RAthena")
oh.. the issue is that last bit in the error message:
Python '/Users/jal/Library/r-miniconda/envs/RAthena/bin/python' was requested but '/Users/jal/Library/r-miniconda/envs/r-reticulate/bin/python' was loaded instead (see reticulate::py_config() for more information)
running reticulate::py_config()
tells me:
python: /Users/jal/Library/r-miniconda/envs/r-reticulate/bin/python
libpython: /Users/jal/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib
pythonhome: /Users/jal/Library/r-miniconda/envs/r-reticulate:/Users/jal/Library/r-miniconda/envs/r-reticulate
version: 3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:55:15) [GCC Clang 11.1.0]
numpy: /Users/jal/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version: 1.19.5
so reticulate
is not using the condaenv "RAthena" which I told it to use. So this is an issue with reticulate
I "solved" the problem by doing the boto3 install into the "r-reticulate" environment then using that:
RAthena::install_boto(method="conda", envname = "r-reticulate")
it appears I have both anaconda3 and miniconda installed and god knows what else. Some interplay between those is causing me environment issues.
Obligatory XKCD:
Hey all, just trying to use RAthena for the first time and keep running into issues around
Error in py_call_impl(callable, dots$args, dots$keywords): UnknownServiceError: Unknown service: 'glue'.
I'll dig in and do a bit of debugging but I wanted to go ahead and register this issue.
Reprex below:
Created on 2021-11-19 by the reprex package (v0.3.0)