Closed niklasbinder closed 2 weeks ago
ModuleNotFoundError Traceback (most recent call last) Cell In[2], line 1 ----> 1 from GraphST import GraphST
File ~/.local/lib/python3.8/site-packages/GraphST-1.1.1-py3.8.egg/GraphST/init.py:11 8 author = "Yahui Long" 9 email = "long_yahui@immunol.a-star.edu.sg" ---> 11 from .utils import clustering, project_cell_to_spot 12 from .preprocess import preprocess_adj, preprocess, construct_interaction, add_contrastive_label, get_feature, permutation, fix_seed
File ~/.local/lib/python3.8/site-packages/GraphST-1.1.1-py3.8.egg/GraphST/utils.py:5 3 from sklearn import metrics 4 import scanpy as sc ----> 5 import ot 6 from sklearn.decomposition import PCA 9 def mclust_R(adata, num_cluster, modelNames='EEE', used_obsm='emb_pca', random_seed=2020):
ModuleNotFoundError: No module named 'ot'
You can try to run the following command to install the POT library: pip install POT
it now works, thank you.
ModuleNotFoundError Traceback (most recent call last) Cell In[2], line 1 ----> 1 from GraphST import GraphST
File ~/.local/lib/python3.8/site-packages/GraphST-1.1.1-py3.8.egg/GraphST/init.py:11 8 author = "Yahui Long" 9 email = "long_yahui@immunol.a-star.edu.sg" ---> 11 from .utils import clustering, project_cell_to_spot 12 from .preprocess import preprocess_adj, preprocess, construct_interaction, add_contrastive_label, get_feature, permutation, fix_seed
File ~/.local/lib/python3.8/site-packages/GraphST-1.1.1-py3.8.egg/GraphST/utils.py:5 3 from sklearn import metrics 4 import scanpy as sc ----> 5 import ot 6 from sklearn.decomposition import PCA 9 def mclust_R(adata, num_cluster, modelNames='EEE', used_obsm='emb_pca', random_seed=2020):
ModuleNotFoundError: No module named 'ot'