did you also follow what Chan suggested?

"
you can install the latest version by following the instructions here
http://predictionio.incubator.apache.org/install/install-sourcecode/ and
using the develop branch when running ./make-distribution.sh.
"

Kenneth

On Wednesday, October 5, 2016, Cristina Giannone <
[email protected]> wrote:

> Hi guys,
> thank for the quick replies,
>
> I tried to modify the code in the Recommendation Engine Template (that has
> the "io.prediction" classpath) to follow the section "Customizing Data
> Preparator" in the quickstart tutorial.
> Here the classpath is "org.apache.predictionio". I changed  the classpath
> in build.sbt and in the scala file, but when I make the build phase the
> result is;
>
> .....
>  [info] Resolving org.apache.predictionio#pio-build;0.9.0 ...
>                   [info] Resolving org.apache.predictionio#pio-build;0.9.0
> ...
> [INFO] [Console$] [warn]     module not found: org.apache.predictionio#pio-
> build;0.9.0
> [INFO] [Console$] [warn] ==== typesafe-ivy-releases: tried
> [INFO] [Console$] [warn]   https://repo.typesafe.com/
> typesafe/ivy-releases/org.apache.predictionio/pio-build/
> scala_2.10/sbt_0.13/0.9.0/ivys/ivy.xml
> [INFO] [Console$] [warn] ==== sbt-plugin-releases: tried
> [INFO] [Console$] [warn]   https://repo.scala-sbt.org/
> scalasbt/sbt-plugin-releases/org.apache.predictionio/pio-
> build/scala_2.10/sbt_0.13/0.9.0/ivys/ivy.xml
> [INFO] [Console$] [warn] ==== local: tried
> [INFO] [Console$] [warn]   /home/cgiannone/.ivy2/local/
> org.apache.predictionio/pio-build/scala_2.10/sbt_0.13/0.9.0/ivys/ivy.xml
> [INFO] [Console$] [warn] ==== public: tried
> [INFO] [Console$] [warn]   https://repo1.maven.org/maven2/org/apache/
> predictionio/pio-build_2.10_0.13/0.9.0/pio-build-0.9.0.pom
> [INFO] [Console$] [info] Resolving com.eed3si9n#sbt-assembly;0.11.2 ...
>                   [info] Resolving org.scala-lang#scala-library;2.10.4 ...
>                   [info] Resolving org.scala-sbt#sbt;0.13.7 ...
>                   [info] Resolving org.scala-sbt#main;0.13.7 ...
> .......
>
> [INFO] [Console$] [warn]     ::::::::::::::::::::::::::::::
> ::::::::::::::::
> [INFO] [Console$] [warn]     ::          UNRESOLVED DEPENDENCIES         ::
> [INFO] [Console$] [warn]     ::::::::::::::::::::::::::::::
> ::::::::::::::::
> [INFO] [Console$] [warn]     :: org.apache.predictionio#pio-build;0.9.0:
> not found
> [INFO] [Console$] [warn]     ::::::::::::::::::::::::::::::
> ::::::::::::::::
> [INFO] [Console$] [warn]
> [INFO] [Console$] [warn]     Note: Some unresolved dependencies have extra
> attributes.  Check that these dependencies exist with the requested
> attributes.
> [INFO] [Console$] [warn]         org.apache.predictionio:pio-build:0.9.0
> (scalaVersion=2.10, sbtVersion=0.13)
> [INFO] [Console$] [warn]
> [INFO] [Console$] [warn]     Note: Unresolved dependencies path:
> [INFO] [Console$] [warn]         org.apache.predictionio:pio-build:0.9.0
> (scalaVersion=2.10, sbtVersion=0.13) (/opt/PredictionIO-0.9.6/
> MyRecommendation/project/pio-build.sbt#L1-2)
> [INFO] [Console$] [warn]           +- 
> default:myrecommendation-build:0.1-SNAPSHOT
> (scalaVersion=2.10, sbtVersion=0.13)
> [INFO] [Console$] sbt.ResolveException: unresolved dependency:
> org.apache.predictionio#pio-build;0.9.0: not found
>
>
> It seems that the "org.apache.predictionio" dependencies cannot be
> resolved, while the other ones can.
> Did I do something wrong?
>
> Many thanks,
> Cristina
>
>
> 2016-10-03 19:20 GMT+02:00 Donald Szeto <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>>:
>
>> Hi Cristina,
>>
>> Sorry for the confusion. We are pretty close to our first official
>> release. We will send out a note and update all docs once that happens.
>>
>> Regards,
>> Donald
>>
>> On Mon, Oct 3, 2016 at 9:05 AM, Chan Lee <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> Hi Cristina,
>>>
>>> You're right. The classpath change is part of v0.10 which is not
>>> officially released yet. But you can install the latest version by
>>> following the instructions here http://predictionio.incub
>>> ator.apache.org/install/install-sourcecode/ and using the develop
>>> branch when running ./make-distribution.sh.
>>>
>>> However, in order to run the quickstart tutorial with the new version,
>>> you'd also need to modify the classpaths in the templates code (build.sbt
>>> and .scala files) from "io.prediction" to "org.apache.predictionio"
>>>
>>> Best,
>>> Chan
>>>
>>>
>>> On Mon, Oct 3, 2016 at 8:36 AM, Cristina Giannone <
>>> [email protected]
>>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>>
>>>> Hello,
>>>> I've just downloaded the 0.9.6 version of predictionIO from "
>>>> http://predictionio.incubator.apache.org/install/install-linux/";
>>>> Here the classpath of the installed version is "io.prediction" while
>>>> in the  "quick start" tutorial  the right classpath is
>>>> "org.apache.predictionio".
>>>>
>>>> For example using jps command to verify the components, the classpath
>>>> of my predictionIO console is:
>>>> io.prediction.tools.console.Console
>>>> while in the tutorial the right one is:
>>>> org.apache.predictionio.tools.console.Console
>>>>
>>>> Maybe i've download an old version of predictionIO before the Apache
>>>> incubation, could you give me the right repository url where i can find a
>>>> new version?
>>>>
>>>> Thanks,
>>>> Cristina
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>

Reply via email to