2

I am trying to get pyspark working on Windows.

I think I have all the necessary files installed such as Scala, Java 8 and Spark.

Unfortunately I am coming across this error when I run spark-submit.

I think it has to do with a path problem but I am not sure. Any help would be appreciated.

Error:

exception in thread "main" java.io.ioexception cannot run program "python" ...

stacktrace screenshot

stefanobaghino
  • 11,253
  • 4
  • 35
  • 63
Leokins
  • 89
  • 11

1 Answers1

0

Have you set the correct path in your PATH variable ? also your question is already answered over here :-

java.io.IOException: Cannot run program "python" using Spark in Pycharm (Windows)

Hope this helps !!

Utsav Preet
  • 248
  • 3
  • 9