leiden icon indicating copy to clipboard operation
leiden copied to clipboard

Installation errors

Open ccnawrocki opened this issue 11 months ago • 1 comments

Hello, I have been having some issues installing your package for R. After I install, the following occurs:

> library(leiden)
Unable to set up conda environment r-reticulate
run in terminal:
conda init
conda create -n r-reticulate
conda environment r-reticulate installed
Unable to install python modules igraph and leidenalg
run in terminal:
conda install -n r-reticulate -c conda-forge vtraag python-igraph pandas umap learn
python modules igraph and leidenalg installed

Then, when I go to use the algorithm as follows, I get I an error:

> FindClusters(COUNTS3,method = "igraph",algorithm = 4,resolution = 1)
Error: Cannot find Leiden algorithm, please install through pip (e.g. pip install leidenalg).

I have tried to do pip install leidenalg and the issue is not resolved.

What do I do?

ccnawrocki avatar Jul 31 '23 13:07 ccnawrocki