[Setup] pkg_resources.VersionConflict

Len Conrad lconrad at Go2France.com
Wed Jul 18 21:23:41 UTC 2012


Learner alert!

in my virtualenv, my buildout.cfg

[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]
# Zope2-specific
Zope2 = 2.13.15
AccessControl = 2.13.7
Acquisition = 2.13.8
DateTime = 2.12.6
DocumentTemplate = 2.13.2
ExtensionClass = 2.13.2
initgroups = 2.13.0
Missing = 2.13.1
MultiMapping = 2.13.0
nt-svcutils = 2.13.0
Persistence = 2.13.2
Products.BTreeFolder2 = 2.13.4
Products.ExternalMethod = 2.13.0
Products.MailHost = 2.13.1
Products.MIMETools = 2.13.0
Products.OFSP = 2.13.2
Products.PythonScripts = 2.13.0
Products.StandardCacheManagers = 2.13.0
Products.ZCatalog = 2.13.23
Products.ZCTextIndex = 2.13.3
Record = 2.13.0
tempstorage = 2.12.1
zExceptions = 2.13.0
zLOG = 2.11.1
ZopeUndo = 2.12.0

# ZTK KGS overrides
manuel = 1.1.1
mechanize = 0.2.5
python-gettext = 1.2
ZConfig = 2.9.0
# security fix, not yet in ZTK 1.0.7
zdaemon = 2.0.7
ZODB3 = 3.10.5

# Zope2 dependencies
repoze.retry = 1.0
repoze.tm2 = 1.0b2
repoze.who = 2.0
zope.testbrowser = 3.11.1

but  

python bootstrap.py --distribute

gives:

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'))

thanks
Len



More information about the Setup mailing list