You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use boxdetect in an AWS lambda, this error occurs when deploying:
[ERROR] Runtime.ImportModuleError: Unable to import module 'pd_ocr/handlers/s3_write': libGL.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last):
The error occurs because it is trying to use opencv artifacts necessary for GUI interface which is not needed in a lambda.
Proposed solution: boxdetect should use opencv-python-headless instead of opencv-python. That way these unneeded GUI artifacts are not included allowing boxdetect to be used in a lambda.
The text was updated successfully, but these errors were encountered:
When trying to use
boxdetect
in an AWS lambda, this error occurs when deploying:[ERROR] Runtime.ImportModuleError: Unable to import module 'pd_ocr/handlers/s3_write': libGL.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last):
The error occurs because it is trying to use opencv artifacts necessary for GUI interface which is not needed in a lambda.
Proposed solution:
boxdetect
should useopencv-python-headless
instead ofopencv-python
. That way these unneeded GUI artifacts are not included allowingboxdetect
to be used in a lambda.The text was updated successfully, but these errors were encountered: