【问题标题】:Error creating template PredictionIO创建模板 PredictionIO 时出错
【发布时间】:2015-11-24 15:19:11
【问题描述】:

我之前创建了很多模板,现在我正在按照建议的步骤创建Recommendation

$ pio template get PredictionIO/template-scala-parallel-recommendation Foo

收到此错误:

[ERROR] [Template$] Either PredictionIO/template-scala-parallel-universal-recommendation is not a valid GitHub repository, or it does not have any tag. Aborting.

我如何解决这个问题以及为什么会发生这种情况?

编辑:

我的预测版本0.9.5。使用 Ubuntu

【问题讨论】:

  • 这适用于我的 Prediction v 0.9.5。你用的是哪个版本?
  • @tuxdna 我已经更新了问题

标签: scala predictionio


【解决方案1】:

当您在pio template get 之前创建了另一个模板的pio deploy 时似乎会发生这种情况,因此您必须关闭eventserver 默认端口7070:

$ lsof -wni tcp:7070
$ kill -9 PID

这解决了问题。

【讨论】:

    【解决方案2】:

    我遇到了这个问题,但 this google group post 有我的解决方案。基本上 pio 模板获取 是在后台克隆存储库,因此它可能存在与 git 相关的问题。

    检查您是否可以从网络浏览器访问https://api.github.com/。如果没有,请查看 google 群组帖子。

    【讨论】:

      【解决方案3】:

      也不需要pio template get,直接从github克隆即可。 Universal Recommender 在其主页 repo 中保持最新:https://github.com/actionml/template-scala-parallel-universal-recommendation/tree/v0.3.0

      通知 v0.3.0 即将发布,但尚未出现在模板库中。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2021-02-16
        • 1970-01-01
        • 1970-01-01
        • 2018-08-26
        • 1970-01-01
        相关资源
        最近更新 更多