Experimenting with new package graphframes for Spark.  Kindly tell me what do I 
do wrong.

Here is my code:

%dep
// sort dependencies
z.load("graphframes:graphframes:0.1.0-spark1.6")

This gives (so annoying the reference to %dep been deprecated!):

DepInterpreter(%dep) deprecated. Load dependency through GUI interpreter menu 
instead.
res0: org.apache.zeppelin.dep.Dependency = 
org.apache.zeppelin.dep.Dependency@7bf2fe37

%pyspark
from graphframes import *

I get:

Traceback (most recent call last):
  File "/var/folders/m4/yfyjwcpj6rv5nq730bl9vr1h0000gp/T//zeppelin_pyspark.py", 
line 232, in <module>
    eval(compiledCode)
  File "<string>", line 1, in <module>
ImportError: No module named 'graphframes'


What do I do wrong?

Thanks



Enzo
[email protected]



Reply via email to