title: How to set PYSPARK_SUBMIT_ARGS environment variables on Linux on a Windows Machine?
body: <p>Currently using Python = 3.5 and Spark = 2.4 versions.</p>
  
  <p>I am trying to run <code>PySpark</code> in a Linux context (git bash) on a <code>Windows</code> machine and I get the following:</p>
  
  <pre><code>set PYSPARK_SUBMIT_ARGS="--name" "PySparkShell" "pyspark-shell" &amp;&amp; python3
  </code></pre>
  
  <p>Does anyone know where I should set these variables? I couldnt't find anything that works for me on google.</p>
  
  <p><code>spark-shell</code> with <code>Scala</code> works, so I am guessing is something related to the <code>Python</code> config.</p>