我尝试使用 scanpy 库在下面运行代码,但由于某种原因它报告错误
ModuleNotFoundError: No module named 'igraph'
import numpy as np
import scanpy as sc
import anndata
adata = anndata.AnnData(np.random.rand(300,300))
sc.tl.pca(adata, n_comps=30)
sc.pp.neighbors(adata, n_neighbors=16)
sc.tl.diffmap(adata, n_comps=50)
sc.tl.louvain(adata, resolution=1)
sc.pl.paga(adata)