Closed pmeakins closed 4 months ago
I'm just guessing, but it seems that the new Python version on AWS doesn't come with cffi pre-installed and you must install it yourself. As a guess, it was the same with the old version and you were using a version of it that someone else already installed cffi in.
Likely an environment configuration issue- closing for inactivity.
Upgraded from AWS lambda runtime python 3.7 (EOL) to 3.9, getting this , any suggestions on a workaround??
{ "errorMessage": "No module named '_cffi_backend'", "errorType": "ModuleNotFoundError", "requestId": "redacted", "stackTrace": [ " File \"/var/task/lambda_function.py\", line 6, in lambda_handler\n ffi = cffi.FFI()\n", " File \"/var/task/cffi/api.py\", line 48, in init\n import _cffi_backend as backend\n" ] }