title: Unable to import module 'lambda_function': No module named 'pyspark'
body: <p>I'm trying to run my PySpark job code using AWS Lambda function. Here i'm getting below error:
  Unable to import module 'lambda_function': No module named 'pyspark'</p>
  
  <p>My PySpark job has below imports. So, how can I import below library into my Lambda function. How to install these in Lambda function ?</p>
  
  <pre><code>from pyspark.sql import SparkSession
  from pyspark.sql import functions as F, Column as col
  from pyspark.sql.functions import when, coalesce
  from pyspark.sql.functions import lit
  </code></pre>
  
  <p>Thanks.</p>