After install Mercurial repository in Santrex hosting, I had a problem:
$ sudo aptitude install mercurial -y [...] cutted [...] $ hg --version abort: couldn't find mercurial libraries in /usr/bin /usr/local/lib/python2.6/dist-packages/vipy-0.4-py2.6.egg /usr/local/lib/python2.6/dist-packages/nose-0.11.1-py2.6.egg /usr/local/lib/python2.6/dist-packages/rope-0.9.2-py2.6.egg /usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg /usr/local/lib/python2.6/dist-packages/django_html-0.0.1-py2.6.egg /usr/local/lib/python2.6/dist-packages/html5lib-0.11.1-py2.6.egg /home/kenny /home/kenny/Projects/soclone-read-only /home/kenny/python/Django /home/kenny/python/pysmell /home/kenny/python/Django/ropemode /home/kenny/python/Django/rope /home/kenny/python/lib /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 (check you install and PYTHONPATH)
As we can see, there is some problem with the PYTHONPATH. To solve it just execute:
$ sudo update-python-modules -p
Note: I don't have a /home/kenny folder. It's just a copy-paste of the error that I've found on the Internet. If you name "kenny" a VPS account you are just looking for problems.
Edit: This is the end of the story.