[英]Spark-Shell— error: object jblas is not a member of package org (Windows)
I am running code in spark shell in windows 我正在Windows的Spark Shell中运行代码
import org.jblas.DoubleMatrix
The error which I am getting is 我得到的错误是
error: object jblas is not a member of package org
I researched on stackoverflow, but answer is available for Linux system only. 我研究了stackoverflow,但是答案仅适用于Linux系统。
Any help will be greatly appreciated. 任何帮助将不胜感激。
Kind regards, Innocent 亲切的问候,天真
You should add jblas to your classpath when you startup spark-shell 启动spark-shell时,应将jblas添加到类路径中
such as: 如:
bin/spark-shell --packages org.jblas:jblas:1.2.4-SNAPSHOT
Then, the ivy in the spark distribution will load jblas automatically. 然后,spark分布中的常春藤将自动加载jblas。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.