title: Pandas in AWS lambda gives numpy error
body: <p>I've been trying to run my code in AWS Lambda which imports pandas. So here is what I've done.
  I have a python file which contains a simple code as follows(This file has the lambda handler)</p>
  
  <pre><code>import json
  print('Loading function')
  import pandas as pd
  def lambda_handler(event, context):
      return "Welcome to Pandas usage in AWS Lambda"
  </code></pre>
  
  <ol>
  <li>I have zipped this python file along with numpy, pandas and pytz libraries as a deployment package (Did all these in Amazon EC2 linux machine) </li>
  <li>Then uploaded the package into S3</li>
  <li>Created a lambda function(runtime=python3.6) and uploaded the deployment package from S3</li>
  </ol>
  
  <p>But when I test the lambda function in AWS Lambda, I get the below error:</p>
  
  <pre><code>Unable to import module 'lambda_function': Missing required dependencies ['numpy']
  </code></pre>
  
  <p>I already have numpy in the zipped package but still I get this error. I tried to follow the hints given at <a href="https://stackoverflow.com/questions/36054976/pandas-aws-lambda">Pandas &amp; AWS Lambda</a> but no luck.</p>
  
  <p>Did anyone ran into the same issue. Would appreciate any hint or suggestions to solve this problem.</p>
  
  <p>Thanks</p>