Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Import cv2 fails in AWS Lambda for Python 3.8 #160

Closed
ganesh3 opened this issue Jun 29, 2021 · 1 comment
Closed

[BUG] Import cv2 fails in AWS Lambda for Python 3.8 #160

ganesh3 opened this issue Jun 29, 2021 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@ganesh3
Copy link

ganesh3 commented Jun 29, 2021

Describe the bug
I have used the ARNs for ap-south-1 region for opencv and imported it for python 3.8. I am getting the below error:

{
"errorMessage": "Unable to import module 'lambda_function': libgthread-2.0.so.0: cannot open shared object file: No such file or directory",
"errorType": "Runtime.ImportModuleError",
"stackTrace": []
}

Screenshots
If applicable, add screenshots to help explain your problem.

Layer Version ARN:
Specific Layer ARN that didn't work (let's us know which version, region etc).
arn:aws:lambda:ap-south-1:770693421928:layer:Klayers-python38-opencv-python-headless:11

Framework:
What Framework do you use (Serverless, Architect, Zappa, or just Console?)
Console

Additional context
Add any other context about the problem here.

@keithrozario
Copy link
Owner

Fix is available, refer to #115

@keithrozario keithrozario added the duplicate This issue or pull request already exists label Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants