Stackoverflow: Instale a versão antiga do Networkx

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