Answers for "Runtime.ImportModuleError: Unable to import module 'lambda_function': libGL.so.1: cannot open shared object file: No such file or directory"

0

Runtime.ImportModuleError: Unable to import module 'lambda_function': libGL.so.1: cannot open shared object file: No such file or directory

# It more over accours in aws lambda only.
#Issue: Runtime.ImportModuleError: Unable to import module 'lambda_function': libGL.so.1: cannot open shared object file: No such file or directory
#More over it causes to import cv2 into aws lambda-layers. to resolve this issue
create layer instad of $ pip install opencv-python
use $ pip install opencv-python-headless
Now generate layer with opencv-python-headless module. Now check with it it's resolve your issue.
Posted by: Guest on July-29-2021

Code answers related to "Runtime.ImportModuleError: Unable to import module 'lambda_function': libGL.so.1: cannot open shared object file: No such file or directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language