Closed Aspirinnnn closed 1 year ago
Seems like your conda environment is borked. Did you install igraph using conda? It should have pulled in libblas as a dependency.
Try conda install -c conda-forge python-igraph
and if it doesn’t work, delete your environment and start new by installing scanpy
and python-igraph
into a fresh environment. It will work.
Hi, I'm running the pbmc3k tutorial on Jupyter Notebook. When I ran the code
sc.tl.leiden(adata)
, I encountered this error:Then I tried
import leidenalg
but still came to error:I've installed the leidenalg package. How can I solve this? I am using Python 3.9.18, Jupyter Notebook 6.5.4, scanpy==1.9.5 anndata==0.10.0 umap==0.5.3 numpy==1.24.3 scipy==1.11.3 pandas==2.0.3 scikit-learn==1.3.0 statsmodels==0.14.0 pynndescent==0.5.10
Thanks a lot!