Comment faire pour démarrer une Étincelle Shell à l'aide de pyspark dans Windows?

Je suis un débutant dans Spark et à essayer de suivre les instructions à partir de là, comment initialiser Étincelle shell Python en utilisant cmd: http://spark.apache.org/docs/latest/quick-start.html

Mais quand je lance cmd suivantes:

C:\Users\Alex\Desktop\spark-1.4.1-bin-hadoop2.4\>c:\Python27\python bin\pyspark 

puis je recevoir le message d'erreur suivant:

File "bin\pyspark", line 21 
export SPARK_HOME="$(cd ="$(cd "`dirname "$0"`"/..; pwd)" 
SyntaxError: invalid syntax

Ce que je fais mal ici?

P. S. Quand cmd j'essaie juste C:\Users\Alex\Desktop\spark-1.4.1-bin-hadoop2.4>bin\pyspark

puis-je recevoir ""python" is not recognized as internal or external command, operable program or batch file".

InformationsquelleAutor Alex | 2015-07-28