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

Cannot import csv-parse on lambda in nodejs 12

I am writing a code which requires csv-parse on lambda. Runtime is node 12.x. I installed following modules via npm 6.14.10 (node v12.20.1) { "name": "data_analysis_node", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo "Error: no test specified"…

VIEW QUESTION
Back To Top
Search