[Tutor] setuptools question

Liam Clarke ml.cyresse at gmail.com
Mon Jan 16 13:27:23 CET 2006


How were you calling easy_install?

On 1/16/06, Shuying <shuying at gmail.com> wrote:
> Hi,
>
> I'm not sure where's the best place to ask so I thought I'd try it
> here.  I've got python2.3 and python2.4 installed on my machine and
> I'm trying to upgrade setuptools for both versions of python. So I've
> got no problems upgrading setuptools for python2.3 but when I try to
> do the same for python2.4, I get :
> Traceback (most recent call last):
>   File "easy_install", line 7, in ?
>     sys.exit(
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6a5-py2.4.egg/pkg_resources.py",
> line 236, in load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6a5-py2.4.egg/pkg_resources.py",
> line 229, in get_distribution
>     if isinstance(dist,Requirement): dist = get_provider(dist)
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6a5-py2.4.egg/pkg_resources.py",
> line 115, in get_provider
>     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6a5-py2.4.egg/pkg_resources.py",
> line 382, in find
>     raise VersionConflict(dist,req)     # XXX add more info
> pkg_resources.VersionConflict: (setuptools 0.6a5
> (/usr/lib/python2.4/site-packages/setuptools-0.6a5-py2.4.egg),
> Requirement.parse('setuptools==0.6a9'))
>
> and I'm not sure what's the best way to fix it. Suggestions please!
>
> Thanks,
> Shuying
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list