Closed YaoZY157 closed 2 years ago
I am getting the same error message. Were you able to find a solution?
I am getting the same error message. Were you able to find a solution?
Sorry, I still have no idea (@_@).
Hi @YaoZY157 @masoodlab
run_cell2location
is deprecated and should not be used.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Minimal code sample (that we can run without your data, using public data)
Hi,guys! When I run the official process ( https://cell2location.readthedocs.io/en/latest/notebooks/cell2location_short_demo.html), I meet the trouble: AttributeError: module 'cell2location' has no attribute 'run_cell2location'. I install it according to the official website(https://github.com/BayraktarLab/cell2location).
anndata 0.8.0 scanpy 1.9.1
PIL 9.2.0 absl NA asttokens NA attr 22.1.0 backcall 0.2.0 beta_ufunc NA binom_ufunc NA cell2location NA cffi 1.15.1 chex 0.1.4 colorama 0.4.5 cycler 0.10.0 cython_runtime NA dateutil 2.8.2 decorator 5.1.1 defusedxml 0.7.1 deprecate 0.3.2 docrep 0.3.2 entrypoints 0.4 etils 0.7.1 executing 0.10.0 flax 0.6.0 fsspec 2022.7.1 google NA h5py 3.7.0 hypergeom_ufunc NA igraph 0.9.11 ipykernel 6.15.1 ipython_genutils 0.2.0 ipywidgets 7.7.1 jax 0.3.16 jaxlib 0.3.15 jedi 0.18.1 joblib 1.1.0 kiwisolver 1.4.4 leidenalg 0.8.10 llvmlite 0.39.0 matplotlib 3.5.3 matplotlib_inline 0.1.5 mpl_toolkits NA msgpack 1.0.4 mudata 0.2.0 multipledispatch 0.6.0 natsort 8.1.0 nbinom_ufunc NA ncf_ufunc NA numba 0.56.0 numpy 1.22.4 numpyro 0.10.0 opt_einsum v3.3.0 optax 0.1.3 packaging 21.3 pandas 1.4.3 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 pkg_resources NA prompt_toolkit 3.0.30 psutil 5.9.1 ptyprocess 0.7.0 pure_eval 0.2.2 pycparser 2.21 pygments 2.13.0 pynndescent 0.5.7 pyparsing 3.0.9 pyro 1.8.1 pytorch_lightning 1.6.5 pytz 2022.2.1 rich NA scipy 1.9.0 scvi 0.17.1 seaborn 0.11.2 session_info 1.0.0 setuptools 65.0.1 six 1.16.0 sklearn 1.1.2 stack_data 0.4.0 statsmodels 0.13.2 tensorboard 2.9.0 texttable 1.6.4 threadpoolctl 3.1.0 toolz 0.12.0 torch 1.12.1+cu102 torchmetrics 0.9.3 tornado 6.2 tqdm 4.64.0 traitlets 5.3.0 tree 0.1.7 typing_extensions NA umap 0.5.3 wcwidth 0.2.5 yaml 6.0 zipp NA zmq 23.2.1
IPython 8.4.0 jupyter_client 7.3.4 jupyter_core 4.11.1 notebook 6.4.12
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:58:50) [GCC 10.3.0] Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17
Session information updated at 2022-09-12 17:53