Root cause : I have installed some *.rpm which have modified some files related to mercurial in /usr/lib64/python2.7, that is what put the mess in pythonhome. Fix : To fix all the mess I have got a new /usr/lib64/python2.7 folder from identical machine(as they are all virtual machines) to replace and everything goes well now. Hope this will help someone.