我收到以下错误
"C:\Users\Lenovo>spark-shell
'cmd' is not recognized as an internal or external command,
operable program or batch file."
我已经为spark设置了环境变量,但仍然出现错误
我已设置的路径:
C:\Users\Lenovo>path
PATH=C:\Progra~1\Java\jdk1.8.0_201\bin;C:\hadoop\bin;C:\spark\bin;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps;C:\Users\Lenovo\AppData\Roaming\npm;C:\Program Files\nodejs;