title: spark-submit python file and getting No module Found
body: <pre><code> spark-submit --master yarn-cluster --deploy-mode cluster test.py
  </code></pre>
  
  <p>end up with error </p>
  
  <blockquote>
    <p>import pandas as pd ImportError: No module named pandas</p>
  </blockquote>
  
  <p>this is the only error I see.</p>
  
  <p>using anaconda python distribution 2.7
  <code>PYSPARK_VENV]/lib/python2.7/site-packages/</code> location has pandas.</p>