cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to launch PySpark REPL using following command?

This is regarding the book Graph Algorithms Ch. 8, Using Graph Algos to Enhance ML

I've downloaded spark and has been able to initiate the pyspark instance by running ./bin/pyspark,
in the terminal.

i am supposed to run the following command within the pyspark REPL:

export SPARK_VERSION="spark-2.4.0-bin-hadoop2.7"
./${SPARK_VERSION}/bin/pyspark
--driver-memory 2g
--executor-memory 6g \
--packages julioasotodv:spark-tree-plotting:0.2

however, i cannot proceed from here. once i run the code above, i get a 'SyntaxError: invalid syntax' message. Has anyone successfully run that the piece of code?

Can you please assist with this?

0 REPLIES 0