python-igraph pip installable, also on Windows
See original GitHub issueYou might be interested to know that python-igraph
is pip
installable since version 0.8. Similarly, leidenalg
can also be installed using pip
since version 0.8. This includes all major platforms (including Windows) for recent Python versions. You might be able to move some of the optional requirements to the normal requirements.
Additionally, you may be interested to know that we added conversion methods between igraph
and networkx
and graph-tool
. These are available from version 0.8.3 onwards. This should enable you to remove (or simplify) some of the conversions you are making in utils.py
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Installing igraph
pip is smart enough to download the sources from Github, initialize the submodule for the igraph C core, compile it, and then compile...
Read more >How to install iGraph python package on Windows?
Then install the python-igraph-0.7.1 package, using either pip or apt-get as mentioned in comments below: sudo pip install python-igraph.
Read more >Did anybody succeed in running igraph on windows 10 with ...
FYI: there was a new release of python-igraph (version 0.8.0), which includes binaries for Windows. Hence, you should be able to install simply ......
Read more >Installing igraph — python-igraph v0.6 documentation
If you want to create publication-quality plots in igraph on Windows, you must also install Cairo and its Python bindings. The Cairo project...
Read more >python-igraph - PyPI
python -igraph 0.10.2. pip install python-igraph ... Python interface to the igraph high performance graph library, primarily aimed at complex network ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, I checked it and yes the
_nx_name
attribute retains the original type, so it solves the problem. The only thing we need to change is to check if the_nx_name
attribute is present instead of thename
attribute.Good to know about that @Yquetzal! I think in
python-igraph
, thefrom_networkx
andto_networkx
functions should retain the original Python types that are used.networkx
does not have any explicit node ordering, whileigraph
explicitly does and uses integer indices to refer to nodes (although names are also supported). Perhaps some of the problems stem from there.In any case, if there is something going wrong with the
from_networkx
orto_networkx
functionality, we would be happy to learn about it and correct it!