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.
|Package||Used version||Package||Used version|