Closed nihalsoans91 closed 6 years ago
The Issue for this is the Environment Variable is not Set correctly. PYSPARK_PYTHON should point to the python.exe This Python.exe has to be the one in the environment For Example: If you are using Anaconda then you will have to point it to the python .exe in that environment.
add spark_home and hadoop_home path in system variables path list and user variable path list as well.... restart the machine..
FileNotFoundError: [WinError 2] The system cannot find the file specified
This error Appears at the line sc=SparkContext