启动Pyspark报错:Could not open PYTHONSTARTUP

为什么在虚拟机终端输入pyspark会报如下错误:

Could not open PYTHONSTARTUP
FileNotFoundError: [Errno 2] No such file or directory: '/opt/install/spark-2.3.4/python/pyspark/shell.py'

启动Pyspark报错:Could not open PYTHONSTARTUP_第1张图片

有没有大佬解决一下的?谢谢啦~~!

你可能感兴趣的:(虚拟机,linux,python)