scVI and Seurat - attribute error?

Hi! Thanks for the nice new tool and compability with Seurat.

I ran into the following problem during converting the Seurat object into an AnnData object:
sc ← import(‘scanpy’, convert = FALSE)
scvi ← import(‘scvi’, convert = FALSE)
scvi$settings$progress_bar_style = ‘tqdm’
Error in py_get_attr_impl(x, name, silent) :
AttributeError: module ‘scvi’ has no attribute ‘settings’

later:
scvi$data$setup_anndata(adata)
Error in py_get_attr_impl(x, name, silent)
AttributeError: module ‘scvi’ has no attribute ‘data’

Would you have any idea?

Many thanks and best,

Dan

sessionInfo()
R version 4.0.1 (2020-06-06)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /n/app/openblas/0.2.19/lib/libopenblas_core2p-r0.2.19.so

locale:
[1] LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=C
[3] LC_TIME=de_DE.UTF-8 LC_COLLATE=de_DE.UTF-8
[5] LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=de_DE.UTF-8
[7] LC_PAPER=de_DE.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] SeuratData_0.2.1 Seurat_3.2.3 reticulate_1.18

loaded via a namespace (and not attached):
[1] nlme_3.1-148 matrixStats_0.58.0 RcppAnnoy_0.0.18
[4] RColorBrewer_1.1-2 httr_1.4.2 sctransform_0.3.2
[7] tools_4.0.1 R6_2.5.0 irlba_2.3.3
[10] rpart_4.1-15 KernSmooth_2.23-17 uwot_0.1.10
[13] mgcv_1.8-31 DBI_1.1.1 lazyeval_0.2.2
[16] colorspace_2.0-0 tidyselect_1.1.0 gridExtra_2.3
[19] compiler_4.0.1 cli_2.3.0 plotly_4.9.3
[22] scales_1.1.1 lmtest_0.9-38 spatstat.data_2.1-0
[25] ggridges_0.5.3 pbapply_1.4-3 rappdirs_0.3.3
[28] spatstat_1.64-1 goftest_1.2-2 stringr_1.4.0
[31] digest_0.6.27 spatstat.utils_2.1-0 pkgconfig_2.0.3
[34] htmltools_0.5.1.1 parallelly_1.23.0 fastmap_1.1.0
[37] htmlwidgets_1.5.3 rlang_0.4.10 shiny_1.6.0
[40] generics_0.1.0 zoo_1.8-8 jsonlite_1.7.2
[43] ica_1.0-2 dplyr_1.0.4 magrittr_2.0.1
[46] patchwork_1.1.1 Matrix_1.3-2 Rcpp_1.0.6
[49] munsell_0.5.0 abind_1.4-5 lifecycle_0.2.0
[52] stringi_1.5.3 MASS_7.3-51.6 Rtsne_0.15
[55] plyr_1.8.6 grid_4.0.1 parallel_4.0.1
[58] listenv_0.8.0 promises_1.1.1 ggrepel_0.9.1
[61] crayon_1.4.0 miniUI_0.1.1.1 deldir_0.2-9
[64] lattice_0.20-41 cowplot_1.1.1 splines_4.0.1
[67] tensor_1.5 pillar_1.4.7 igraph_1.2.6
[70] future.apply_1.7.0 reshape2_1.4.4 codetools_0.2-16
[73] leiden_0.3.7 glue_1.4.2 data.table_1.13.6
[76] png_0.1-7 vctrs_0.3.6 httpuv_1.5.5
[79] gtable_0.3.0 RANN_2.6.1 purrr_0.3.4
[82] polyclip_1.10-0 tidyr_1.1.2 scattermore_0.7
[85] future_1.21.0 assertthat_0.2.1 ggplot2_3.3.3
[88] rsvd_1.0.3 mime_0.9 xtable_1.8-4
[91] later_1.1.0.1 survival_3.1-12 viridisLite_0.3.0
[94] tibble_3.0.6 cluster_2.1.0 globals_0.14.0
[97] fitdistrplus_1.1-3 ellipsis_0.3.1 ROCR_1.0-11

Hi @danrei999!

I think you need to update scvi-tools. Instructions can be found here: Installation — scvi-tools

Let me know if that works,
Galen