下载networkx 如果直接pip install networkx,下载的非常慢,因此需要指定下载网站,用如下命令安装: pip install networkx==2.1 -i https://pypi.tuna.tsinghua.edu.cn/simple