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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -