Background
I have been struggling for the past few days to deploy a Lambda that uses Pillow, and I am deploying using Python 3.6. It may be noteworthy a
You can use a precompiled version of the PIL available here: https://github.com/Miserlou/lambda-packages
Just extract PIL folder to the deployment package and it should work.