python - Error with pycripto and AWS-Lambda -


i'm trying use pycrypto , lambda service, every time run script lambda service return:

unable import module 'service': /var/task/crypto/cipher/_aes.so: invalid elf header

i don't know why happen if have same problem, please me.

thank everyone.

i ran same issue, had build deployable zip on linux vm.

as alex-luminul comments in issue, may due osx-compatible shared library _aes.so being sent lambda, lambda requires linux compatible shared libraries.


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -