Closed JinJieGan closed 3 years ago
This is presumably a problem with how you installed python-igraph
. Could you show us how you installed that, and which version you installed? Additionally, you seem to be using Anaconda. You can simply install both python-igraph
and leidenalg
from the conda-forge
channel. Is there any particular reason why you are installing using pip
?
thx, I tried pip uninstall leidenalg
pip uninstall cairocffi
, andpip install leidenalg
,it works.
Actually, i don't know how to install both python-igraph and leidenalg from the conda-forge channel.
If you are using Anaconda, you can install from the conda-forge
channel simply using conda install -c conda-forge python-igraph leidenalg
. If you prefer to use the graphical user interface (Anaconda Navigator), please see further instructions in Anaconda's documentation.
when i used 'pip install leidenalg' and try to import it:
anybody help me ?