easy_installing mercurial on ubuntu/gutsy

Sandro Dentella sandro at e-den.it
Sun Dec 16 10:05:00 UTC 2007


Hi,

  I'm trying to install mercurial 0.95 on ubuntu gutsy but I get the
  following  error  message, any hints?

  TIA
  sandro
  *:-)
  
root at sandro:~# easy_install mercurial
Searching for mercurial
Reading http://cheeseshop.python.org/pypi/mercurial/
Couldn't find index page for 'mercurial' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://cheeseshop.python.org/pypi/
Reading http://cheeseshop.python.org/pypi/Mercurial/0.9.5
Reading http://www.selenic.com/mercurial
Best match: mercurial 0.9.5
Downloading http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz
Processing mercurial-0.9.5.tar.gz
Running mercurial-0.9.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-yGJnrj/mercurial-0.9.5/egg-dist-tmp-3k-dtR
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c6', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1670, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1659, in with_ei_usage
    return f()
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1674, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "distutils/core.py", line 151, in setup
  File "distutils/dist.py", line 974, in run_commands
  File "distutils/dist.py", line 994, in run_command
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 446, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 471, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 919, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 27, in run_setup
    lambda: execfile(
  File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 63, in run
    return func()
  File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 29, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 16, in <module>
  File "/tmp/easy_install-yGJnrj/mercurial-0.9.5/mercurial/version.py", line 16, in <module>
  File "/tmp/easy_install-yGJnrj/mercurial-0.9.5/mercurial/util.py", line 1308, in <module>
TypeError: Error when calling the metaclass bases
    first argument must be callable



More information about the Mercurial mailing list