Skip to content
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

scvelo() ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/site-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so) #49

Open
shijianasdf opened this issue Aug 19, 2021 · 4 comments

Comments

@shijianasdf
Copy link

I run scvelo() following the demo:

> velo.out <- scvelo(sce, subset.row=top.hvgs, assay.X="spliced")

and i get the following error:

Error in py_module_import(module, convert = convert) : .linux/moby/250bf1aceecb7cd934586ba31bbbf95535a3daf1cdac6f972043a22c1b875333 -address /run/containerd/c
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/site-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so)

Detailed traceback: 
     File "/home/software/R-4.0.3/lib64/R/library/reticulate/python/rpytools/loader.py", line 44, in _import_hook
          level=level
     File "/home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/site-packages/anndata/__init__.py", line 1, in 
        <module>from ._core.anndata import AnnData, ImplicitModificationWarning
     File "/home/software/R-4.0.3/lib64/R/library/reticulate/python/rpytools/loader.py", line 44, in _import_hook level=level
     File "/home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/site-packages/anndata/_core/anndata.py", line 20,  in <module> import pandas as pd
     File "/home/software/R-4.0.3/lib64/R/library/reticulate/python/rpytools/loader.py", line 44, in _import_
@shijianasdf shijianasdf changed the title scvelo() ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/site-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so) scvelo() ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/sit-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so) Aug 19, 2021
@shijianasdf shijianasdf changed the title scvelo() ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/sit-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so) scvelo() ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/shijian/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/lib/python3.7/site-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so) Aug 19, 2021
@LTLA
Copy link
Collaborator

LTLA commented Aug 20, 2021

Hm. Nothing comes to mind. I'd suggest upgrading to BioC 3.13 in any case, basilisk is on 1.4.0 and you've got 1.2.1.

@YOU-k
Copy link

YOU-k commented Oct 12, 2021

Same error with me, after update basilisk to 1.4.0

@YOU-k
Copy link

YOU-k commented Oct 12, 2021

Error in py_module_import(module, convert = convert) : 
  ImportError: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /stornext/Home/data/allstaff/y/you.y/.cache/R/basilisk/1.4.0/velociraptor/1.2.0/env/lib/python3.7/site-packages/matplotlib/../../.././libpng16.so.16)

@LTLA
Copy link
Collaborator

LTLA commented Oct 16, 2021

I have absolutely no idea. Dunno why it's fiddling with a system library, this should not happen from inside a conda environment.

Best guess is that the environment activation failed such that the LDPATH was not set properly, but then you should have seen a warning message along the lines of "environment activation failed" or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants