title: Zipped package (with numpy) for AWS Lambda not working
body: <p>Am trying to run a function in AWS Lambda (Python 3.6) from a Zip file, located in S3.</p>
  
  <p>Followed the instructions in various locations (AWS documentation, other blogs, etc.). However, I seem to be going wrong somewhere while loading numpy.</p>
  
  <p>Can some one please help with the same?</p>
  
  <p>Here is the Zip file I uploaded to S3 - <a href="https://drive.google.com/open?id=1ioBKGpCt5eAa6gj46OAxE1YcyEugJcRh" rel="nofollow noreferrer">ZIP file</a></p>
  
  <p>Also, the Error logs return the following, when I test the zip -</p>
  
  <pre><code>START RequestId: b004d192-17e7-11e8-8323-bb9e005088cc Version: $LATEST
  Unable to import module 'trial22': 
  Importing the multiarray numpy extension module failed.  Most
  likely you are trying to import a failed build of numpy.
  If you're working with a numpy git repo, try `git clean -xdf` (removes all files not under version control).  Otherwise reinstall numpy.
  
  Original error was: cannot import name 'multiarray'
  
  
  END RequestId: b004d192-17e7-11e8-8323-bb9e005088cc
  REPORT RequestId: b004d192-17e7-11e8-8323-bb9e005088cc  Duration: 0.84 ms   Billed Duration: 100 ms     Memory Size: 128 MB Max Memory Used: 31 MB
  </code></pre>
  
  <p>On trying to uninstall (&amp; then install) numpy, the virtualenv attempts to remove the global package, instead of the one in the specific directory where it is created.</p>
  
  <pre><code>Not uninstalling numpy at /Users/vidyut/projects/aws_lambda_pkgs/trial22, outside environment /Users/vidyut/projects/aws_lambda_pkgs/trial21/bin/..
  </code></pre>
  
  <p>I know I am making some stupid mistake somewhere, but simply cannot figure out what and where - can some one please help explain the same?</p>