Thanks so much! It works fine as I expected.

 Note that%dep interpreter should be used before %spark, %pyspark, %sql.



发件人: bear gan<mailto:bear...@hotmail.com>
发送时间: 2016年1月20日 17:16
收件人: Mina Lee<mailto:mina...@apache.org>; 
users@zeppelin.incubator.apache.org<mailto:users@zeppelin.incubator.apache.org>
主题: re: error: object jblas is not a member of package org

Run
//////////////////////////////////////////////////////////////////
%dep
z.load("org.scalanlp:jblas:1.2.1")
//////////////////////////////////////////////////////////////////
Out:
dep interpreter not found




Hi,

have you tried to load jblas library using %dep interpreter?

For example, you can try to run below:
```
%dep
z.load("org.scalanlp:jblas:1.2.1")
```

And then run
`import org.jblas.DoubleMatrix` in next paragraph.

If you want to know another way to load external library, please check 
"Dependency Management" section in 
https://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html

Hope this helps.

On Tue, Jan 19, 2016 at 11:46 PM, bear gan 
<bear...@hotmail.com<mailto:bear...@hotmail.com>> wrote:

How to solve this problem?
////////////////////////////////////////////////////////////////////////////////
import org.jblas.DoubleMatrix
<console>:21: error: object jblas is not a member of package org
       import org.jblas.DoubleMatrix
////////////////////////////////////////////////////////////////////////////////






Reply via email to