找不到引擎。您的构建可能失败了。中止。 [预测]

No engine found. Your build might have failed. Aborting. [predictionio]

Please click this link to see the exact log i am seeing after running pio build. It fails as it can't find engine. Help would be much appreciated

检查您在引擎的 build.sbt 版本中使用的是哪个版本的 Scala,并确保在从源代码构建时使用该版本,如下所示:

./make-distribution.sh -Dscala.version=<PUT CORRECT SCALA VERSION HERE> -Dspark.version=2.1.0 -Delasticsearch.version=2.3.3

我遇到了同样的问题,因为我在构建 PredictionIO 时指定了 scala.version=2.11.8,但我使用的引擎模板是用 scala 2.10 构建的。

所以我编辑引擎文件夹下的build.sbt文件,并添加scalaVersion := "2.11.8",重新运行构建命令(pio build --verbose), 然后一切构建成功完成。