我正在使用 pysftp 从 python 函数连接到 sFTP 站点。这在我的本地运行良好,运行为file_track.py. 但是当我在 AWS lambda 上部署它时,它失败并显示 \xe2\x80\x93
{\n "error Message": "Unable to import module 'lambda function': cannot import name 'asn1' from 'cryptography.hazmat.bindings._rust' (unknown location)",\n "error Type": "Runtime.ImportModuleError",\n "requestId": "0235edb8-25a3-4570-a1ea-2a2696a7dd04",\n "stack Trace": []\n}\nRun Code Online (Sandbox Code Playgroud)\n请帮帮我!
\n