title: Error: Could not find valid SPARK_HOME while searching: (Pycharm in windows)
body: <p>I am new to PYCHARM. I have configured everything properly but still facing below issue, when i try to execute simple code<br>
  <code>Could not find valid SPARK_HOME while searching:</code> </p>
  
  <p>In project interpreters i have updated the paths for PYTHON, PY4J.zip, PYSPARK.zip and SPARK till bin (bin not included) </p>
  
  <p>versions are as below:</p>
  
  <pre><code>Python version - 3.6.4
  Spark - 2.2.1
  </code></pre>
  
  <p>Do I need to configure anything?</p>