About the Software

This book uses Python 3.x and networkx 2.1. The current version of networkx was released in January 2018 and is not backward compatible with the previous version 1.11. Appendix 2, Migrating from NetworkX 1.x to 2.x provides some useful information about the incompatibilities. All Python examples in this book are known to work for the modules mentioned in the following table.

PackageUsed versionPackageUsed version

python

3.6.5

networkx

2.1

matplotlib

2.0.2

community

0.10

nltk

3.2.5

numpy

1.13.3

pandas

0.22.0

pygraphviz

1.3

wikipedia

1.4.0

scipy

1.0.1

toposort

1.5

All of these modules are included in the Anaconda distribution, with the exception of community,[2] toposort,[3] wikipedia,[4] and generalized,[5] which must ...

Get Complex Network Analysis in Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.