Pyspark - Windows 8 - cmd not recognized as an internal or external command” in Windows


#1

Hi,
I am following the playlist - https://www.youtube.com/watch?v=icIj5v0BhHc&list=PLf0swTFhTI8rT3ApjBqt338MCO0ZvReFt

I have successfully installed python, pythoncharm, java, jdk. But after downloading spark
I was stuck in the 12th video - Configure environment variables for Spark.

below error is displayed for pyspark command
’cmd’ not recognized as an internal or external command, operable program or batch file.

Please find the attached screenshot for reference.

Please help me in resolving the issue. Thanks!!!

Note: As pyspark command is not working, I havent added to the environment variable.


#2

Hi Team,

I am also facing same above issue i.e. ( windows 7)
I have successfully installed python, pycharm, java, JDK. But after downloading spark
I was stuck in the 12th video - Configure environment variables for Spark.

I have added/set support variables path “C:\spark-1.6.3-bin-hadoop2.6\bin”

and when I also tried executing pyspark exe from above folder externally, nothing is being started.

can you please help.

Regards,
Sachin P
9920531549


Not able to launch pyspark from CMD
#3

Hi Team, I’m also having same issue., Please loop me in for any solution on this issue.

I am following udemy course of CCA 175 spark and hadoop (python). So far I have successfully installed python, pycharm, java, JDK. I was stuck in the 12th video - Configure environment variables for Spark. I have done environmental variables as said in the videos, but yet it is not working for in my local pc.
I also tried executing pyspark exe from above folder externally, nothing is being started.
PFA screeshot.

Could you please help me to get it resolved at earliest.

Thanks
Somasekar


#4

Hi @smakireddy,
Install Winutils.exe as well and set path.
Please follow the link below.

https://www.youtube.com/watch?v=4I1m54WIPMg&t=278s.


#5

Thanks Sravan for the details. But no luck, i have installed winutils 64 bit and set the path , still same error cmd not recognized as an internal or external command. Please advice. Thanks!!


#6

Hi All,

I am facing similar issue while following CCA 175 spark and hadoop (python), is there a resolution for this. Any pointers will be great.

Thank you!