All_shortest_paths is not working in version 1.6 and i would like to update it to version 1.7. Is there a simple update command i can use?
Just type 
pip install networkx --upgrade
This would get you the latest release of Networkx ( 1.10 as of now).
How do i update the networkx from version 1.6 to 1.7?