After I added import cv2
will got this errors, anyone face this issue before? please
Asked
Active
Viewed 891 times
1
-
have you setup cv2 with your function? – Marcin Oct 30 '20 at 02:44
-
what you mean setup??? – TSW Oct 30 '20 at 02:45
-
`cv2` is `opencv-python`. So did you set it up? By default lambda does not come pre-installed with `opencv-python`. So that's why you are getting error. – Marcin Oct 30 '20 at 02:55
-
For that, I already setup, but don know got this errors – TSW Oct 30 '20 at 02:58
-
Probably you setup up incorrectly? – Marcin Oct 30 '20 at 03:13
-
I not sure, how to check I setup incorrectly?? I created a layer using amazon s3, I upload the file in s3 and paste the Amazon S3 link URL. After I create a function and import cv2 in function code – TSW Oct 30 '20 at 03:39
-
[Here](https://stackoverflow.com/questions/64016819/cant-use-opencv-python-in-aws-lambda/64019186#64019186) is working procedure to setup cv2 as layer. – Marcin Oct 30 '20 at 03:49
-
I m not using docker – TSW Oct 30 '20 at 03:54