stackoverflow: instale la versión antigua de NetworkX

pip install matplotlib==2.2.3
pip install networkx==1.10
Andrea Perlato