![]() ![]() ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/tjm/anaconda3/envs/r420v1/lib/python3.11/site-packages/pandas/_libs/window/aggregations.cpython-311-x86_64-linux-gnu. Previously, when I ran a simplified version of my script in the Rstudio console, only focusing on reticulate, I g0t a completely different error: > library(reticulate) ModuleNotFoundError: No module named 'gseapy' It is superseded by request to `use_python("/home/tjm/anaconda3/envs/r405v1/bin/python") Warning: Previous request to `use_python("/home/tjm/anaconda3/envs/r420v1/bin/python3", required = TRUE)` will be ignored. When my script it fails at the python block where I import gseapy: > library(reticulate) However, they're there when I run py_list_packages() (see bottom row for gseapy): Moreover, the other python packages I need, gseapy, matplotlib, and pandas are all installed in conda environment r420v1 but cannot be found. NOTE: Python version was forced by use_python function ![]() Numpy: /home/tjm/anaconda3/envs/r420v1/lib/python3.11/site-packages/numpy Pythonhome: /home/tjm/anaconda3/envs/r420v1:/home/tjm/anaconda3/envs/r420v1 This works perfectly without having to install the old, insecure libssl1.0, which is now libssl1.1 on my systems on Ubuntu 20. Libpython: /home/tjm/anaconda3/envs/r420v1/lib/libpython3.11.so On Ubuntu 20.04, its quite easy to miss the correct Rstudio 1.4 download, which is further down the downloads page (look for 'Install for Debian 10 / Ubuntu 18 / Ubuntu 20'). ![]() ![]() Python: /home/tjm/anaconda3/envs/r420v1/bin/python3 However, it identifies only numpy (correct version 1.24.2 also seen in r420v1), also in the as the sole package available, but there are dozens more. RStudio desktop for Ubuntu 20.04 LTS - RStudio IDE - Posit Forum Posit Forum RStudio desktop for Ubuntu 20.04 LTS RStudio IDE lm322 May 7, 2020, 4:54pm 1 Hello, does anybody have a sense of when RStudio Desktop for Ubuntu 20. Setting a conda environment (in this case named r420v1 where python is in "/home/tjm/anaconda3/envs/r420v1/bin/python3" ) in reticulate "works" in that it sets the appropriate version of python, libpython, and python home. ![]()
0 Comments
Leave a Reply. |