vegas-viz / Vegas

The missing MatPlotLib for Scala + Spark
MIT License
730 stars 99 forks source link

error: Symbol 'term io.circe' is missing from the classpath In zeppelin #180

Open takiSdr opened 4 years ago

takiSdr commented 4 years ago

hello,

%dep z.load("org.vegas-viz:vegas_2.11:0.3.11") z.load("org.vegas-viz:vegas-spark_2.11:0.3.11")

import vegas. import vegas.data.External.

implicit val render = vegas.render.ShowHTML(s => print("%html " + s)) Vegas("A simple bar chart with embedded data."). withData(Seq( Map("a" -> "A", "b" -> 28), Map("a" -> "B", "b" -> 55), Map("a" -> "C", "b" -> 43), Map("a" -> "D", "b" -> 91), Map("a" -> "E", "b" -> 81), Map("a" -> "F", "b" -> 53), Map("a" -> "G", "b" -> 19), Map("a" -> "H", "b" -> 87), Map("a" -> "I", "b" -> 52) )). encodeX("a", Ordinal). encodeY("b", Quantitative). mark(Bar). show

I have this error

:32: error: Symbol 'term io.circe' is missing from the classpath. This symbol is required by 'method vegas.DSL.SpecBuilder.asCirceJson'. Make sure that term circe is in your classpath and check for conflicting dependencies with `-Ylog-classpath`. A full rebuild may help if 'SpecBuilder.class' was compiled against an incompatible version of io. implicit val render = vegas.render.ShowHTML(s => print("%html " + s)) ^ :35: error: Symbol 'term .monocle' is missing from the classpath. This symbol is required by ' '. Make sure that term monocle is in your classpath and check for conflicting dependencies with `-Ylog-classpath`. A full rebuild may help if 'EncoderDSL.class' was compiled against an incompatible version of . Vegas("A simple bar chart with embedded data."). I'm worked with zeppelin Version 0.8.2 Spark Version 2.4.5 Scala version 2.4.5 Java : java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Can you help me ?
takiSdr commented 4 years ago

I have also this error

32: error: Symbol 'term .monocle' is missing from the classpath. This symbol is required by ' '. Make sure that term monocle is in your classpath and check for conflicting dependencies with -Ylog-classpath. A full rebuild may help if 'EncoderDSL.class' was compiled against an incompatible version of . Vegas("A simple bar chart with embedded data.").

aw236 commented 3 years ago

I also have this error.