我试图通过buildout向Plone添加附加组件,但它找不到包。我已经在virtualenv和系统范围的python中尝试过了
我跟踪了Plone网站上的设置 Setup instructions
我尝试的每个加载项都会出现以下错误
Installing instance.
/home/a/Plone/zinstance/local/lib/python2.7/site-packages/pkg_resources/__init__.py:192: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
stacklevel=1,
Couldn't find index page for 'collective.addthis' (maybe misspelled?)
Getting distribution for 'collective.addthis'.
Couldn't find index page for 'collective.addthis' (maybe misspelled?)
While:
Installing instance.
Getting distribution for 'collective.addthis'.
Error: Couldn't find a distribution for 'collective.addthis'.
我将包添加到构建.cnfg你知道吗
eggs =
Plone
Pillow
collective.addthis
Plone和Pillow构建得很好,但我尝试的每个附加组件都会出现相同的错误。你知道吗
在https://community.plone.org/上也有很多类似的问题
最可能的问题是从中的迁移pypi.python.org至pypi.org网站你知道吗
您可以添加:
如果您使用的是允许的主机,您需要2个新的,可以跳过*。python.org网站地址:
或者,您可以使用当前版本的setuptools和zc.buildout公司你知道吗
注意:对于setuptools>;38.7.0,您需要固定
(见https://github.com/plone/plone.recipe.zope2instance/blob/4.4.0/CHANGES.rst)
相关问题 更多 >
编程相关推荐