Share

easy-deb python module packager

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Installing with two versions of setuptools

You are viewing a single message from this topic. View all messages.

  1. 2006-04-19 14:18:13 UTC
    Hi,

    I just had a bit of a painful experience attempting to get easy-deb to work with multiple versions of setuptools installed.

    I had setuptools-0.6a9 installed (some other packages I have installed needed it) so after installing:

    python-pypi-easydeb_0.2.0-4.4_all.deb python2.4-pypi-easydeb_0.2.0-4.4_all.deb
    python-setuptools_0.6a1-2_all.deb python2.4-setuptools_0.6a1-2_all.deb

    I then had two versions (a0 and a9).

    Running easy-deb produced:

    Traceback (most recent call last):
    File "/usr/bin/easy-deb", line 28, in ?
    import easydeb
    File "/usr/lib/python2.4/pypi-packages/easydeb-0.2.0-py2.4.egg/easydeb/__init__.py", line 1, in ?
    from easy_deb import *
    File "/usr/lib/python2.4/pypi-packages/easydeb-0.2.0-py2.4.egg/easydeb/easy_deb.py", line 31, in ?
    import easy_install
    File "/usr/bin/easy_install.py", line 4, in ?
    pkg_resources.run_script('setuptools==0.6a0', 'easy_install.py')
    File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 407, in run_script
    self.require(requires)[0].run_script(script_name, ns)
    File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 503, in require
    needed = self.resolve(parse_requirements(requirements))
    File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 487, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
    pkg_resources.VersionConflict: (setuptools 0.6a9 (/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg), Requirement.parse('setuptools==0.6a0'))

    Is there any hope of installing easy-deb alongside other versions of setuptools?

    If I can get easy-deb installed it'll make me feel alot happier about installing eggs. :)

    Schiavo
    Simon
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.