您好,我已经解压缩并导出了 spark 路径。当我吃午饭时,我得到了这个错误。
export PATH=$PATH:/usr/local/spark/spark24/bin
$火花壳
错误
Traceback (most recent call last):
File "/usr/local/bin/find_spark_home.py", line 74, in <module>
print(_find_spark_home())
File "/usr/local/bin/find_spark_home.py", line 56, in _find_spark_home
module_home = os.path.dirname(find_spec("pyspark").origin)
AttributeError: 'NoneType' object has no attribute 'origin'
/usr/local/bin/spark-shell: line 57: /bin/spark-submit: No such file or directory
我有什么问题。