if you struggle to resolve the problem with python libs. Check this article. it helped me a lot. https://aws.plainenglish.io/easiest-way-to-create-lambda-layers-with-the-required-python-version-d205f59d51f6