Install networkx from pip