title: Error in Spark installation --pyspark
body: <p>I am installing spark 1.2.1 on windows 8 and I have downloaded a prebuilt package for Hadoop 2.4</p>
  
  <p>When i am running <strong>pyspark</strong> i am getting the following error:</p>
  
  <pre><code>C:\Users\Dinesh\Desktop\spark-1.2.1-bin-hadoop2.4&gt;bin\pyspark
  Running python with PYTHONPATH=C:\Users\Dinesh\Desktop\spark-1.2.1-bin-hadoop2.4\bin\..\python\lib\py4j-0.8.2.1-src.zip;C:\Users\Dinesh\Desktop\spark-1.2.1-bin-hadoop2.4\bin\..\python;
  Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  The system cannot find the path specified.
  Traceback (most recent call last):
  File "C:\Users\Dinesh\Desktop\spark-1.2.1-bin-Hadoop2.4\bin\..\python\pyspark\shell.py", line 45, in &lt;module&gt;
  sc = SparkContext(appName="PySparkShell", pyFiles=add_files)
  File "C:\Users\Dinesh\Desktop\spark-1.2.1-bin-hadoop2.4\python\pyspark\context.py", line 102, in __init__
  SparkContext._ensure_initialized(self, gateway=gateway)
  File "C:\Users\Dinesh\Desktop\spark-1.2.1-bin-hadoop2.4\python\pyspark\context.py", line 212, in _ensure_initialized
  SparkContext._gateway = gateway or launch_gateway()
  File "C:\Users\Dinesh\Desktop\spark-1.2.1-bin-hadoop2.4\python\pyspark\java_gateway.py", line 73, in launch_gateway
  raise Exception(error_msg)
  Exception: Launching GatewayServer failed with exit code 1!
  Warning: Expected GatewayServer to output a port, but found no output.
  </code></pre>
  
  <p>I have searched and i got that in general the error is caused as the path variable are not correctly defined,but i have checked and my variable are all in place. How can i solve the error?
  "The system cannot find the path specified." Which path is it talking about.? </p>