Some Python libraries, such as pycrypto, include platform specific compiled libraries. When building dependencies packages for AWS Lambda, it's necessary to build 64bit x86 Linux compiled libraries.
- Docker
- Edit
Dockerfile
- Add your libraries to
RUN pip3 install
line - Run
./make_libs.sh
- Copy libraries from
dist
to your Lambda package