【问题标题】:Buildout can't find the links for the dependecies of Pypi Plone add-onsBuildout 找不到 Pypi Plone 附加组件的依赖项的链接
【发布时间】:2018-12-15 17:43:12
【问题描述】:

我正在尝试为 Plone 安装一些附加组件,但 buildout 找不到依赖项的链接。

我的 buildout.cnfg 中有以下内容

find-links +=
http://dist.plone.org/release/5.0.4
http://getpaid.googlecode.com/files/yoma.batching-0.2.2-getpaid.zip

index = https://pypi.python.org/simple/
eggs =
    Plone
    Pillow
    collective.addthis
    collective.cart.shopping
    Products.PloneGetPaid

当我跑步时

bin/buildout

我明白了

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

我关注了Setup Guide 我所做的唯一区别是将 index = https://pypi.python.org/simple/ 添加到 buildout.cnfg 并添加 plone.recipe.zope2instance = 4.4.0 没有做任何事情,我将 link 添加到 find-links 也没有做任何事情


Plone
Pillow
collective.addthis
collective.cart.shopping

前 3 个安装,但在我添加 index = https://pypi.python.org/simple/ 之前,只有 Plone 和 Pillow 会安装。原来的错误是Here

【问题讨论】:

    标签: python pip plone pypi buildout


    【解决方案1】:

    getpaid.yoma.batching 不在 pypi.org 上。

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

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

    getpaid.yoma.batching               = git https://github.com/collective/getpaid.yoma.batching.git
    

    或者您可以在自定义的 eggserver 或 apache/nginx 上使用目录列表(使用 find-links)对 egg 进行私有发布

    【讨论】:

      猜你喜欢
      • 2018-12-15
      • 2019-03-18
      • 1970-01-01
      • 1970-01-01
      • 2020-03-08
      • 2022-11-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多