pyspark-系统找不到指定的路径。拒绝访问

时间:2020-08-01 08:07:16

标签: python apache-spark pyspark

我正在尝试将pyspark安装到Windows10。从命令运行pyspark时出现以下错误。

The system cannot find the path specified.
Access is denied.
The system cannot find the file Boyite\AppData\Local\Temp\spark-class-launcher-output-6430.txt.
The system cannot find the path specified.
Unable to create process using 'C:\Users\Ajit Boyite\anaconda3\python.exe "C:\Users\Ajit Boyite\anaconda3\Scripts\jupyter-script.py" C:/spark-3.0.0-preview2-bin-hadoop2.7/bin/ratings_counter.py Boyite\AppData\Local\Temp\spark-class-launcher-output-12624.txt'

找到以下其他详细信息。

Java version - java version "1.8.0_261"
Python Version - Python 3.8.5
Spark version - spark-3.0.0

找到以下环境变量。

HADOOP_HOME - C:\hadoop
JAVA_HOME - C:\Program Files\Java\jdk1.8.0_261
SPARK_HOME - C:\spark-3.0.0-preview2-bin-hadoop2.7
path - C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Brackets\command;C:\Program Files\MongoDB\Server\4.0\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;%JAVA_HOME%\bin;%SPARK_HOME%\bin;%HADOOP_HOME%\bin;

已附上错误消息的屏幕截图。 enter image description here

有人可以建议我如何解决此问题吗?

0 个答案:

没有答案
相关问题