You appear to be using the pypy wheel, which is not appropriate for
Lambda. The AWS Lambda documentation is the best path for
understanding how to run Python packages with native modules, but you
should assume you'll be using the cp36-abi3 x86_64 wheel.

-Paul

On Thu, Sep 15, 2022 at 5:53 AM Prathamesh Utekar <pkuteka...@gmail.com> wrote:
>
> hey
> I am Prathamesh from India we are using cryptograhy package for our project 
> on aws and we are getting error
> "Unable to import module 'lambda_function': cannot import name 'x509' from 
> 'cryptography.hazmat.bindings._rust"
>
> can you guide us about this error
> we are using python3.9 for cryptography 
> "cryptography-38.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64" this package
>
> Regards,
> Prathamesh
> _______________________________________________
> Cryptography-dev mailing list
> Cryptography-dev@python.org
> https://mail.python.org/mailman/listinfo/cryptography-dev
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to