-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reticulate not looking for shared libraries in conda env lib directory #1285
Comments
My understanding is that you cannot do stuff like that (i.e. almost anything slightly advanced) in general with reticulate as the reticulate python runs in the same process as R and thus are bound to have the same environment. If there requirements for the environment are conflicting there is nothing you can do. One (painful) solution is t use R from within your conda environment (installing it there). Another, probably better, solution is to use python in a separate process with basilisk (which, i believe, combines |
In some cases you can, but you need to set your Or just use a virtual environment... |
If you do not mind running R standalone, for example, starting R session in a terminal, reticulate package does honor the GLIBCXX in a conda envrionment. Here is the procedure that works for me.
One nasty way to make reticulate honors conda env in Rstudio server is to modify R system file ldpaths , i.e., put |
The file where it's looking naturally does not have the requited GLIBXX version:
But
libstdc++.so.6.0.30
in/path/to/conda/env/
does have the required version:Trying to add the conda env library directory (
/path/to/conda/lib
) to$LD_LIBRARY_PATH
doesn't effect any change:Returns an unchanged path, without including
/path/to/conda/lib
How can I specify that it needs to look in
/path/to/conda/env/lib/
for thatGLIBCXX_3.4.26
library?I can load import other modules from this same env without any issues.
The text was updated successfully, but these errors were encountered: