title: ipython is not recognized as an internal or external command (pyspark)
body: <p>I have installed spark the release: <code>spark-2.2.0-bin-hadoop2.7</code>.</p>
  
  <p>I'm using <code>Windows 10</code> OS</p>
  
  <p>My java version <code>1.8.0_144</code></p>
  
  <p>I have set my environment variables:</p>
  
  <pre><code>SPARK_HOME D:\spark-2.2.0-bin-hadoop2.7
  
  HADOOP_HOME D:\Hadoop ( where I put bin\winutils.exe )
  
  PYSPARK_DRIVER_PYTHON ipython
  
  PYSPARK_DRIVER_PYTHON_OPTS notebook
  </code></pre>
  
  <p>Path is <code>D:\spark-2.2.0-bin-hadoop2.7\bin</code></p>
  
  <p>When I launch <code>pyspark</code> from command line I have this error: </p>
  
  <pre><code>ipython is not recognized as an internal or external command
  </code></pre>
  
  <p>I tried also to set <code>PYSPARK_DRIVER_PYTHON</code> in <code>jupyter</code> but and it's giving me the same error (not recognized as an internal or external command).</p>
  
  <p>Any help please?</p>