码迷,mamicode.com
首页 > 编程语言 > 详细

在Windows启动pyspark shell:Failed to find Spark jars directory. You need to build Spark before running this program

时间:2019-07-31 12:41:52      阅读:770      评论:0      收藏:0      [点我收藏+]

标签:style   eve   hadoop2   空格   pyspark   cto   you   文件   jar   

D:\Develop tools\spark-2.2.0-bin-hadoop2.7\bin>pyspark2.cmd

‘tools\spark-2.2.0-bin-hadoop2.7\bin\..\jars""\‘ 不是内部或外部命令,也不是可运
行的程序
或批处理文件。
Failed to find Spark jars directory.
You need to build Spark before running this program.

 

错误原因:路径中含有空格(D:\Develop tools\spark-2.2.0-bin-hadoop2.7\bin的Develop tools中间有空格)

在Windows启动pyspark shell:Failed to find Spark jars directory. You need to build Spark before running this program

标签:style   eve   hadoop2   空格   pyspark   cto   you   文件   jar   

原文地址:https://www.cnblogs.com/144823836yj/p/11275408.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!