Why lambda function running on core device (raspberry pi) can’t use installed python packages?
I’m deploying a lambda function to Raspberry Pi and it fails due to:
[ERROR] FATAL: lambda_runtime.py:147,Failed to import handler function “lambda_function.lambda_handler” due to exception: No module named ‘joblib’.
[ERROR] FATAL: lambda_runtime.py:427,Failed to initialize Lambda runtime due to exception: No module named ‘joblib’.
I have installed the ‘joblib’ package on Raspberry but it does not recognize it. Is uploading the library along with the code in AWS lambda console, the only way to do this? Or is it related to permissions?
Read more here: Source link
