skip to Main Content

OpenCV – AWS Lambda – /lib64/libz.so.1: version `ZLIB_1.2.9' not found

In Python, trying to run the opencv package in an AWS lambda layer. Using opencv-python-headless but keep getting this error. Response { "errorMessage": "Unable to import module 'lambda_function': /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /opt/python/lib/python3.8/site-packages/cv2/../opencv_python_headless.libs/libpng16-186fce2e.so.16.37.0)", "errorType": "Runtime.ImportModuleError", "stackTrace": []…

VIEW QUESTION
Back To Top
Search