I installed the python3.8 environment using conda on linux, and then downloaded stlearn using pip, but I will report an error when importing.
import stlearn
Traceback (most recent call last):
File "", line 1, in
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/init.py", line 11, in
from . import tl
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/tl.py", line 1, in
from .tools import clustering
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/tools/clustering/init.py", line 3, in
from .annotate import annotate_interactive
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/tools/clustering/annotate.py", line 2, in
from stlearn.plotting.classes_bokeh import Annotate
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/plotting/classes_bokeh.py", line 50, in
from stlearn.classes import Spatial
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/classes.py", line 14, in
from .utils import (
File "/home/wanggl/miniconda3/envs/TumorBoundary/lib/python3.8/site-packages/stlearn/utils.py", line 29, 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 installed the python3.8 environment using conda on linux, and then downloaded stlearn using pip, but I will report an error when importing.