首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Products.GenericSetup的Plone训练设置错误

Products.GenericSetup的Plone训练设置错误
EN

Stack Overflow用户
提问于 2016-06-30 10:08:17
回答 1查看 174关注 0票数 1

我正在努力学习如何为Plone 5开发一个副词。为了做到这一点,我坚持Plone 5培训(https://training.plone.org)。

按照培训的建议,我正在安装带有plone的Vagrant/Virtualbox机器,但当我尝试运行buildout时,总是会出现以下错误

代码语言:javascript
复制
vagrant@training:/vagrant/plonetheme.tango$ ./bin/buildout
Develop: '/vagrant/plonetheme.tango/.'
Updating _mr.developer.
Installing instance.
/home/vagrant/buildout-cache/eggs/setuptools-20.7.0-py2.7.egg/pkg_resources/__init__.py:187: 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,
Version and requirements information containing products.genericsetup:
  [versions] constraint on products.genericsetup: 1.8.0
  Requirement of plonetheme.tango[test]: Products.GenericSetup>=1.8.2
  Requirement of plone.app.testing: Products.GenericSetup
While:
  Installing instance.
Error: The requirement ('Products.GenericSetup>=1.8.2') is not allowed by your [versions] constraint (1.8.0)`

我试图通过Products.GenericSetup更新easy_install,但是buildout似乎忽略了python文件夹中的更新版本。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-06-30 10:52:17

在构建定义中的某个地方(我不知道Vagrant如何安装它,所以您必须查看.cfg文件中的内容),您可能拥有:

代码语言:javascript
复制
[versions]
...
Products.Genericsetup=1.8.0

...while主题需要1.8.2版本。

只需添加以下内容:

代码语言:javascript
复制
[versions]
...
Products.Genericsetup=1.8.2
票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38120026

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档