I am using virtualenv and serverless-python-requirements for my Python deployment in AWS Lambda using the serverless framework. But after upload when I am calling the function it is giving “module initialization error: [Errno 22] Invalid argument” error.
I am new to the serverless framework so couldn't find out what I am doing wrong.
Here is my serverless.yml file https://gist.github.com/himadriganguly/f9571c09a3c01c79ebf920034f5e5e55