title: Using python graphviz ImportError: No module named _gv
body: <p>I'm trying to use graphviz with python and I get the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/pymodules/python2.6/gv.py", line 7, in &lt;module&gt;
      import _gv
  ImportError: No module named _gv
  </code></pre>
  
  <p>The system state:</p>
  
  <pre><code>dpkg -l|grep graphviz
  ii  graphviz              2.20.2-3ubuntu5      rich set of graph drawing tools
  ii  libgraphviz4          2.20.2-3ubuntu5      rich set of graph drawing tools
  ii  libgv-python          2.20.2-3ubuntu5      Python bindings for graphviz
  ii  python-pygraphviz     0.99-2ubuntu1        Python interface to the Graphviz graph layou
  </code></pre>
  
  <p>I have Ubuntu 9.10  installed and python2.6</p>
  
  <p>I searched at the internet and found out that probably it's symlink problem, but the workaround they suggested didn't work for me.</p>