Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3956308
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:20:47+00:00 2026-05-20T02:20:47+00:00

I installed Mercurial on (32-bit) Ubuntu 9.10, using: sudo easy_install mercurial It installed Mercurial

  • 0

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 448, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1160, in run_script
    raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'hg'

How do I fix this? How do I easy_uninstall it?

Note: I have noticed sudo hg works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:20:48+00:00Added an answer on May 20, 2026 at 2:20 am

    Go to /usr/local/lib/python2.6/dist-packages (or the appropriate directory for your Python install).

    Type ls -l and you will find an entry something like so.

    drwx--S--- 5 root staff 4096 Feb 14 11:13 mercurial-1.7.5-py2.6-linux-i686.egg
    

    You don’t have access to that if you are not logged in as root. Try:

    sudo chmod -R o+rX mercurial-1.7.5-py2.6-linux-i686.egg/
    

    That gives you access and was enough to get things going again for me.

    I still don’t know how to uninstall the original mess that was made.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed Mercurial via both .dmg and using the MacPorts command sudo port install
I have installed Rhodecode (mercurial server) on an Ubuntu machine. I specified the repository
I have installed mercurial and configured in .hgrc file like this: default (server-1) default
I have Tortoise Hg installed on my Windows box, and have been using mercurial
I'm using Mercurial for revision control of few projects. I have Mercurial installed both
I have installed Mercurial from the Ubuntu package repository. However I don't know how
I've installed the HgEclipse plugin for Mercurial integration in Eclipse. I have an existing
We are using virtualenv and Mercurial 1.7.5. To provide better code checking I installed
I'm really quite frustrated at this point. I have an existing hg repository that
Installing Mercurial on Mac OS X 10.6 Snow Leopard I installed Mercurial 1.3.1 on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.