python系统找不到指定路径_pyspark:系统找不到指定的路径

在Windows 7 64位系统上安装了pyspark 2.2.0后,尝试运行pyspark命令时遇到错误提示“系统找不到指定的路径”。已尝试将pyspark路径添加到PATH环境变量中,但问题仍未解决。可能需要检查Java路径是否正确配置。解决方案是,使用完整版的Apache Spark下载,因为通过conda安装的PySpark不包含启动独立集群所需的工具,适合与现有集群交互。
摘要由CSDN通过智能技术生成

1586010002-jmsa.png

I just installed pyspark 2.2.0 using conda (using python v3.6 on windows 7 64bit, java v1.8)

$conda install pyspark

It downloaded and seemed to install correctly with no errors. Now when I run pyspark on the command line, it just tells me "The system cannot find the path specified."

$pyspark

The system cannot find the path specified.

The system cannot find the path specified.

I tried including the pyspark path directory in my PATH environment variables, but that still didn't seem to work, but maybe I am giving the wrong path? Can anyone please advise. Does the Java path need to be specified in PATH environment variables or something? Thanks

解决方案

PySpark from PyPi (i.e. installed with pip or conda) does not contain the full PySpark functionality; it is only intended for use with a Spark install

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值