Plone 尝试安装ZRS时未找到DistributionNotFound

Plone 尝试安装ZRS时未找到DistributionNotFound,plone,zope,buildout,Plone,Zope,Buildout,我有一个Plone 4.2.5的站点,我想在其中安装ZRS 我将[zrs]额外添加到zeoserver部分: [zeoserver] recipe = plone.recipe.zeoserver[zrs] 我还锁定了正确版本的配方和相关包: [versions] plone.recipe.zeoserver = 1.2.8 plone.recipe.zope2instance = 4.2.18 Twisted = 15.4.0 zc.zrs = 2.4.4 但是,当我运行buildout时

我有一个Plone 4.2.5的站点,我想在其中安装ZRS

我将
[zrs]
额外添加到
zeoserver
部分:

[zeoserver]
recipe = plone.recipe.zeoserver[zrs]
我还锁定了正确版本的配方和相关包:

[versions]
plone.recipe.zeoserver = 1.2.8
plone.recipe.zope2instance = 4.2.18
Twisted = 15.4.0
zc.zrs = 2.4.4
但是,当我运行buildout时,会出现以下错误:

$ bin/buildout
...
While:
  Installing.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/plone/my.project/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/buildout.py", line 1992, in main
    getattr(buildout, command)(args)
  File "/home/plone/my.project/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/buildout.py", line 565, in install
    self._compute_part_signatures(install_parts)
  File "/home/plone/my.project/eggs/zc.buildout-2.4.3-py2.7.egg/zc/buildout/buildout.py", line 810, in _compute_part_signatures
    sig = _dists_sig(pkg_resources.working_set.resolve([req]))
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
DistributionNotFound: The 'zc.zrs' distribution was not found and is required by plone.recipe.zeoserver
同样的东西在Plone 4.3中运行良好

我也在使用以下版本:

[versions]
setuptools = 18.3.2
zc.buildout = 2.4.3
有什么提示吗?

您需要在“鸡蛋”部分添加“plone.recipe.zeoserver[zrs]”


有关主/从设置的示例,请参阅。

我仍然会遇到相同的错误,您确定这适用于Plone 4.2吗?该包的文档提到了Plone 4.3.1。我刚刚试过Plone 4.3。您是否尝试过签出回购协议并使用Plone 4.2.x运行它?事实上,它在Plone 4.2中也起作用,顺便说一句,也没有必要将这些鸡蛋添加到
鸡蛋
部分;我认为我的问题不同,它似乎与setuptools或zc.buildout版本有关。