title: Installing Mercurial on Debian Squeeze: hg gives an "couldn't find mercurial libraries" error
body: <p>After seemingly-successful installation on Debian Squeeze(via <code>apt-get install mercurial</code>), hg refuses to start, giving this error:</p>
  
  <pre><code>root@pe-test:/tmp/example.com# hg
  abort: couldn't find mercurial libraries in [/usr/bin /usr/lib/python2.6 /usr/lib/python2.6/plat-linux2 /usr/lib/python2.6/lib-tk /usr/lib/python2.6/lib-old /usr/lib/python2.6/lib-dynload /usr/local/lib/python2.6/dist-packages /usr/lib/python2.6/dist-packages /usr/lib/pymodules/python2.6]
  (check your install and PYTHONPATH)
  </code></pre>
  
  <p>The only way I can get it working is to install mercurial via <code>pip install</code>, but I don't think its a proper way.</p>