Quantcast
Channel: Active questions tagged aws-lambda - Stack Overflow
Viewing all articles
Browse latest Browse all 4002

AWS Lambda: cannot import name 'asn1'

$
0
0

I am using pysftp to connect to a sFTP site from a python function. This is working fine from my local that is running as file_track.py. But when I deploy that on AWS lambda it is failing with –

{"error Message": "Unable to import module 'lambda function': cannot import name 'asn1' from 'cryptography.hazmat.bindings._rust' (unknown location)","error Type": "Runtime.ImportModuleError","requestId": "0235edb8-25a3-4570-a1ea-2a2696a7dd04","stack Trace": []}

Please help me out!


Viewing all articles
Browse latest Browse all 4002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>