[英](PySpark) Pathing error: exception in thread “main” java.io.ioexception cannot run program “python”
I am trying to get pyspark working on Windows. 我正在尝试让pyspark在Windows上工作。
I think I have all the necessary files installed such as Scala, Java 8 and Spark. 我想我已经安装了所有必需的文件,例如Scala,Java 8和Spark。
Unfortunately I am coming across this error when I run spark-submit
. 不幸的是,当我运行
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" ...
Have you set the correct path in your PATH variable ? 您是否在PATH变量中设置了正确的路径? also your question is already answered over here :-
你的问题也已经在这里回答了:-
java.io.IOException: Cannot run program "python" using Spark in Pycharm (Windows) java.io.IOException:无法在Pycharm中使用Spark运行程序“ python”(Windows)
Hope this helps !! 希望这可以帮助 !!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.