title: Pyspark command giving error as directory not found error
body: <p>I have installed both ApacheSpark and Pyspark on Anaconda (<strong>@ OS Mojave in Macbook and I don't have Hadoop installed!</strong>). But <strong>pyspark</strong> command is not working in terminal and is giving the following error:</p>
  <blockquote>
  <p>/Library/Frameworks/Python.framework/Versions/3.8/bin/pyspark: line 24: /usr/local/lib/python3.8/site-packages/pyspark/bin/load-spark-env.sh: No such file or directory</p>
  <p>/Library/Frameworks/Python.framework/Versions/3.8/bin/pyspark: line 77: /usr/local/lib/python3.8/site-packages/pyspark/bin/spark-submit: No such file or directory</p>
  <p>/Library/Frameworks/Python.framework/Versions/3.8/bin/pyspark: line 77: exec: /usr/local/lib/python3.8/site-packages/pyspark/bin/spark-submit: cannot execute: No such file or directory</p>
  </blockquote>
  <p><strong>These are my environment variables:</strong></p>
  <pre><code>export SPARK_HOME=&quot;/usr/local/spark&quot; #version 1.6
  export PATH=$PATH:$SPARK_HOME/bin
  export PYSPARK_SUBMIT_ARGS=&quot;--master local[2]&quot;
  export PYTHONPATH=$SPARK_HOME/python/:$PYTHONPATH
  export PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.9-src.zip:$PYTHONPATH
  export PYSPARK_DRIVER_PYTHON=jupyter
  export PYSPARK_DRIVER_PYTHON_OPTS='notebook'
  </code></pre>
  <p><strong>I have python 3.8 and apacheSpark 3.0.0</strong> .
  Please help!</p>