首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >构建无法找到Pypi Plone附加组件的依赖项的链接。

构建无法找到Pypi Plone附加组件的依赖项的链接。
EN

Stack Overflow用户
提问于 2018-07-07 09:36:06
回答 1查看 491关注 0票数 0

我正在尝试安装一些插件到Plone,但是构建无法找到依赖项的链接。

我的buildout.cnfg中有以下内容

代码语言:javascript
复制
find-links +=
http://dist.plone.org/release/5.0.4
http://getpaid.googlecode.com/files/yoma.batching-0.2.2-getpaid.zip

代码语言:javascript
复制
index = https://pypi.python.org/simple/
eggs =
    Plone
    Pillow
    collective.addthis
    collective.cart.shopping
    Products.PloneGetPaid

当我跑的时候

代码语言:javascript
复制
bin/buildout

我得到了

代码语言:javascript
复制
Getting distribution for 'plone.recipe.zope2instance==4.4.0'.
warning: no previously-included files matching '*pyc' found anywhere in distribution
Got plone.recipe.zope2instance 4.4.0.
Installing instance.
Couldn't find index page for 'getpaid.yoma.batching' (maybe misspelled?)
Getting distribution for 'getpaid.yoma.batching'.
Couldn't find index page for 'getpaid.yoma.batching' (maybe misspelled?)
While:
  Installing instance.
  Getting distribution for 'getpaid.yoma.batching'.
Error: Couldn't find a distribution for 'getpaid.yoma.batching'.

我遵循安装指南,我唯一的不同之处是将index = https://pypi.python.org/simple/添加到buildout.cnfg中,添加没有做任何事情的plone.recipe.zope2instance = 4.4.0,添加链接来查找没有做任何事情的链接。

代码语言:javascript
复制
Plone
Pillow
collective.addthis
collective.cart.shopping

第一个3安装,但在我添加index = https://pypi.python.org/simple/之前,只有Plone和Pillow才会安装。最初的错误是这里

EN

回答 1

Stack Overflow用户

发布于 2018-07-09 07:19:44

getpaid.yoma.batching不是托管在pypi.org上。

尝试搜索它,你将找不到任何结果:https://pypi.org/search/?q=getpaid.yoma.batching

您可以使用mr.developer将其作为开发蛋添加到构建中:

代码语言:javascript
复制
getpaid.yoma.batching               = git https://github.com/collective/getpaid.yoma.batching.git

或者,您可以在定制的茄子服务器或apache/nginx上使用目录清单(使用find-link)对鸡蛋进行私有发布。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51221840

复制
相关文章

相似问题

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