I installed mercurial using sudo apt-get install mercurial and it installed properly. But when I run any hg command I get the following Error Message-
abort: couldn't find mercurial libraries in [/home/yashu/bin /usr/local/lib/python3.4/dist-packages/networkx-2.0.dev_20150923032326-py3.4.egg /usr/local/lib/python3.4/dist-packages/decorator-4.0.2-py3.4.egg /usr/local/lib/python3.4/dist-packages/Cython-0.23.2-py3.4-linux-x86_64.egg /usr/local/lib/python3.4/dist-packages/pgmpy-0.1.0-py3.4.egg /usr/local/lib/python3.4/dist-packages/pip-1.2.1-py3.4.egg /usr/lib/python3.4 /usr/lib/python3.4/plat-x86_64-linux-gnu /usr/lib/python3.4/lib-dynload /usr/local/lib/python3.4/dist-packages /usr/lib/python3/dist-packages] (check your install and PYTHONPATH)
then I tried installing it with pip and it again installed successfully but on runnning any hg command I get the same error message.