When I tried to import celltypist, it outputs the following errors:
import celltypist
Traceback (most recent call last):
File "", line 1, in
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/celltypist/init.py", line 2, in
from . import classifier, models, samples
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/celltypist/classifier.py", line 3, in
import scanpy as sc
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/init.py", line 17, in
from . import plotting as pl
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/plotting/init.py", line 1, in
from ._anndata import (
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/plotting/_anndata.py", line 28, in
from . import _utils
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/plotting/_utils.py", line 36, in
class _AxesSubplot(Axes, axes.SubplotBase, ABC):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
I have tried different versions of python, but they all do the same. Can someone please help me solve this issue?
When I tried to import celltypist, it outputs the following errors: import celltypist Traceback (most recent call last): File "", line 1, in
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/celltypist/init.py", line 2, in
from . import classifier, models, samples
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/celltypist/classifier.py", line 3, in
import scanpy as sc
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/init.py", line 17, in
from . import plotting as pl
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/plotting/init.py", line 1, in
from ._anndata import (
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/plotting/_anndata.py", line 28, in
from . import _utils
File "/dellstorage02/quj_lab/lijiaming/05_software/minoconda3/envs/celltypist_py3.8/lib/python3.8/site-packages/scanpy/plotting/_utils.py", line 36, in
class _AxesSubplot(Axes, axes.SubplotBase, ABC):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
I have tried different versions of python, but they all do the same. Can someone please help me solve this issue?