Pyspark configuration

I am getting this error when trying to run pyspark from the specified location:
D:\spark-1.6.3-bin-hadoop2.6\bin>pyspark
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: https://javarevisited.blogspot.com/2017/01/the-system-cannot-find-path-specified-error-in-command-prompt.html#ixzz5j6gQUF8v