Pyspark configuration

I am getting this error when trying to run pyspark from the specified location:
The system cannot find the path specified.

Else when I am trying to open pyspark.cmd it blinks and opens for a second and then vanishes.Please can anyone solve my problem.

Even I have the same problem.

Try going through all the PATH environment variable.

It seems this error occurs when you have invalid paths in your PATH environment variable e.g. directories which don’t exist anymore. I was able to solve the problem after deleting unwanted varibles

Read more: