title: Networkx, AttributeError: 'module' object has no attribute 'all_simple_paths'
body: <p>I am a new user of python-networkx, and somehow it shows an error when I try all_shortest_paths function <a href="http://networkx.lanl.gov/reference/generated/networkx.algorithms.shortest_paths.generic.all_shortest_paths.html#networkx.algorithms.shortest_paths.generic.all_shortest_paths" rel="nofollow">here</a></p>
  
  <p>ps: I have updated networkx to the latest version</p>
  
  <pre><code>&gt;&gt;&gt; import networkx as nx
  &gt;&gt;&gt; print nx.__version__
  1.7
  &gt;&gt;&gt; G = nx.complete_graph(4)
  &gt;&gt;&gt; print nx.all_simple_paths(G, source=0, target=3, cutoff=2)
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'module' object has no attribute 'all_simple_paths'
  </code></pre>
  
  <p>Thanks!
  the package seems to be installed well and  other functions I tried did't have this problem.</p>
  
  <pre><code>&gt;&gt;&gt; print  help(nx)
  
  
  NAME
      networkx
  
  FILE
      /Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/networkx/__init__.py
  
  DESCRIPTION
      NetworkX
      ========
  
          NetworkX (NX) is a Python package for the creation, manipulation, and
          study of the structure, dynamics, and functions of complex networks.
  
          https://networkx.lanl.gov/
  
      Using
      -----
  
          Just write in Python
  </code></pre>