如何将networkx从版本1.6更新到1.7?

Vin*_*K S 2 python networkx

All_shortest_paths 在 1.6 版中不起作用,我想将其更新到 1.7 版。我可以使用简单的更新命令吗?

Ksh*_*ogi 5

只需输入

pip install networkx --upgrade

这将为您提供最新版本的 Networkx(目前为 1.10)。