I worked on Python 3.8 script that includes sqlite3 and serial. It worked well when running them on barebone Raspi OS. However, when I tried to use them on containerized lambda, I get these errors
lambda_runtime.py:141,Failed to import handler function "main.function_handler" due to exception: No module named 'serial'
and
lambda_runtime.py:141,Failed to import handler function "main.function_handler" due to exception: No module named '_sqlite3'
The question is how do I import these modules along with my code? It seems absurd to be that greengrass sdk uses sqlite3 but I can't use them in my own lambda function
Any helps? I can provide more details if needed