创建模板 PredictionIO 时出错

Error creating template PredictionIO

我之前创建了很多模板,现在我正在按照建议的步骤创建 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

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

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

这解决了问题。

我遇到了这个问题,但 this google group post 有我的解决方案。基本上 pio 模板 get 是在幕后克隆一个存储库,所以它可能有 git 相关的问题。

检查您是否可以从网络浏览器访问 https://api.github.com/。如果不是,请检查 google 组 post。

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

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