Skip to content

Error on basilisk env for spatialDE wrapper #20

@davidecrs

Description

@davidecrs

Hi @LTLA ,

I'm not sure if this is an error of basilisk, but it happened when the basilisk environment is created to run functions.
Specifically, recently the Linux build of SpatialDE http://bioconductor.org/checkResults/release/bioc-LATEST/spatialDE/nebbiolo1-buildsrc.html showed this error (without making any changes to the package).

Using a docker container, I was able to successfully install the spatialDE package from Bioc, but when I tried to run our example

library(spatialDE)
spe <- mockSVG(return_SPE = TRUE)
de_results <- spatialDE(spe)

it creates the basilisk and the conda env with the python libraries, but it fails showing the same error as the Linux build

Error in py_module_import(module, convert = convert) : 
  ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /root/.cache/R/basilisk/1.8.0/spatialDE/1.2.0/env/lib/python3.8/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-38-x86_64-linux-gnu.so)
This is the sessionInfo() R version 4.2.0 (2022-04-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 11 (bullseye)

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale:
[1] C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] spatialDE_1.2.0

loaded via a namespace (and not attached):
[1] Rcpp_1.0.8.3 locfit_1.5-9.5
[3] here_1.0.1 dir.expiry_1.4.0
[5] lattice_0.20-45 png_0.1-7
[7] rprojroot_2.0.3 assertthat_0.2.1
[9] SingleCellExperiment_1.18.0 utf8_1.2.2
[11] R6_2.5.1 GenomeInfoDb_1.32.1
[13] backports_1.4.1 stats4_4.2.0
[15] ggplot2_3.3.6 pillar_1.7.0
[17] sparseMatrixStats_1.8.0 basilisk_1.8.0
[19] zlibbioc_1.42.0 rlang_1.0.2
[21] magick_2.7.3 S4Vectors_0.34.0
[23] R.utils_2.11.0 R.oo_1.24.0
[25] Matrix_1.4-1 checkmate_2.1.0
[27] reticulate_1.24 BiocParallel_1.30.0
[29] RCurl_1.98-1.6 munsell_0.5.0
[31] beachmat_2.12.0 DelayedArray_0.22.0
[33] HDF5Array_1.24.0 compiler_4.2.0
[35] DropletUtils_1.16.0 pkgconfig_2.0.3
[37] BiocGenerics_0.42.0 tidyselect_1.1.2
[39] SummarizedExperiment_1.26.1 gridExtra_2.3
[41] tibble_3.1.7 GenomeInfoDbData_1.2.8
[43] edgeR_3.38.0 IRanges_2.30.0
[45] matrixStats_0.62.0 fansi_1.0.3
[47] crayon_1.5.1 dplyr_1.0.9
[49] basilisk.utils_1.8.0 rhdf5filters_1.8.0
[51] bitops_1.0-7 R.methodsS3_1.8.1
[53] grid_4.2.0 jsonlite_1.8.0
[55] gtable_0.3.0 lifecycle_1.0.1
[57] DBI_1.1.2 magrittr_2.0.3
[59] scales_1.2.0 dqrng_0.3.0
[61] cli_3.3.0 scuttle_1.6.0
[63] XVector_0.36.0 SpatialExperiment_1.6.0
[65] limma_3.52.0 filelock_1.0.2
[67] DelayedMatrixStats_1.18.0 ellipsis_0.3.2
[69] generics_0.1.2 vctrs_0.4.1
[71] Rhdf5lib_1.18.0 rjson_0.2.21
[73] tools_4.2.0 Biobase_2.56.0
[75] glue_1.6.2 purrr_0.3.4
[77] MatrixGenerics_1.8.0 parallel_4.2.0
[79] colorspace_2.0-3 rhdf5_2.40.0
[81] BiocManager_1.30.17 GenomicRanges_1.48.0

Do I have to add something to the code of the basiliskEnv?

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions