[Setup] pkg_resources.VersionConflict

Servilio Afre Puentes afrepues at rhpcs.mcmaster.ca
Thu Jul 19 19:11:48 UTC 2012


On Thu, 19 Jul 2012 09:07:09 -0700 (PDT), satx <lconrad at go2france.com> wrote:
> simplified buildout.cfg  according to your comments
> 
> [buildout]
> extends =
> http://dist.plone.org/release/4.2/versions.cfg
> parts = instance
> 
> #extends = http://download.zope.org/zopetoolkit/index/1.0.7/ztk-versions.cfg
> #versions = versions
> 
> [instance]
> recipe = plone.recipe.zope2instance
> eggs = Plone
> 
> [versions]
> zc.buildout = 1.5.2
> #zc.buildout = 1.4.4
> 
> using either line for zc.buildout  gives me the same error

Tried it here with Python 2.7.3 and worked like a charm.

> python bootstrap.py --distribute Traceback (most recent call last):
> File "bootstrap.py", line 124, in <module> ws.require('zc.buildout' +
> VERSION) File
> "build/bdist.freebsd-9.0-RELEASE-i386/egg/pkg_resources.py", line 690,
> in require File
> "build/bdist.freebsd-9.0-RELEASE-i386/egg/pkg_resources.py", line 592,
> in resolve pkg_resources.VersionConflict: (zc.buildout 1.5.2
> (/usr/local/lib/python2.7/site-packages/zc.buildout-1.5.2-py2.7.egg),
> Requirement.parse('zc.buildout==1.4.4'))

Try removing the the file ".installed.cfg" and running buildout again,
but with the option "-vvv". If you get the error again, send the output
of buildout.

Servilio


More information about the Setup mailing list