I easy_install'ed Mercurial, and now I get “No script named 'hg'”
问题 I installed Mercurial on (32-bit) Ubuntu 9.10, using: sudo easy_install mercurial It installed Mercurial 1.7.5. I have since learned that using this way of installing is denounced by the Mercurial Team, although the reasons why it shouldn't work are not clear. When I ran the command hg it responded: Traceback (most recent call last): File "/usr/local/bin/hg", line 5, in <module> pkg_resources.run_script('mercurial==1.7.5', 'hg') File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line