UCA-MSI / ABEILLE

A novel method for ABerrant Expression Identification empLoying machine LEarning from sequencing data
4 stars 0 forks source link

Error with Reticulate #1

Open BrendanDee opened 5 months ago

BrendanDee commented 5 months ago

In R I ran the script as usual until I reached the following

reticulate::use_condaenv("myenv", required = TRUE)

Source my own python environment

To find your python path you can use os.path.dirname(sys.executable) on python

If you don't have environment ready, you can load library needed in python

py_install("numpy") py_install("pandas") py_install("tensorflow")

Load the VAE function

abeille_script_path <- "....rest of directory......./ABEILLE/abeille.py" source_python(abeille_script_path) <<<<<

Error in py_run_file_impl(file, local, convert) : ImportError: /lib64/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /data/nasif12/home_if12/l_he/miniconda3/envs/myenv/lib/python3.8/site-packages/pandas/_libs/window/aggregations.cpython-38-x86_64-linux-gnu.so) Runreticulate::py_last_error()` for details.

Unfortunately I can not run abeille.py in Rstudio do you have a possible solution. I unfortunately can not use a virtual machine so I can't have a default environment set up.

marcomilanesio commented 5 months ago

Look like a miniconda problem. The libstdc++ library is looking for is not found in your current conda environment. Possible steps to take:

Unfortunately I do not maintain the Abeille code, so I cannot look for bugs/error in the source.