Missing required dependencies ['numpy'] in AWS Lambda after installing numpy into directory, how to fix?
Answer here helped me: Pandas in AWS lambda gives numpy error.
TLDR: libs compiled on mac don't work on linux, so you need to make sure to get the linux versions one way or another (e.g. Docker).
The advice from AWS docs is to use the .whl file for certain dependencies.
You can unpackage the numpy .whl file from the python project download files, there's a fuller answer here
Pandas in AWS lambda gives numpy error - Answer