After seemingly-successful installation on Debian Squeeze(via apt-get install mercurial
), hg refuses to start, giving this error:
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)
The only way I can get it working is to install mercurial via pip install
, but I don't think its a proper way.
pip install mercurial
worked for me (I hadapt-get purge mercurial
first). I suppose apt-get is supposed to just work, but it didn't, so pip is okay by me.