The issue here that the Python version used to build your Lambda function dependencies (on your own machine) is different than the selected Python version for your Lambda function. This case is common especially if the Numpy library part of your dependencies.
Example: Your machine's python version: 3.6 ---> Lambda python version 3.6