Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named 'cryptography.hazmat.bindings._padding

I installed cryptography using the pip install cryptography -t . in my windows command prompt then I zipped it and uploaded in AWS Lambda, but whenever I run the code in AWS lambda I get the below error

No module named 'cryptography.hazmat.bindings._padding

Please anyone help me to get rid of this error.

I am using python 3.6 in my windows system

like image 962
Dhandapani Sudhakar Avatar asked Nov 06 '22 15:11

Dhandapani Sudhakar


1 Answers

Upgrading the cryptography package worked for me

pip3 install --upgrade cryptography
like image 159
Brannigan Avatar answered Nov 15 '22 11:11

Brannigan