Ask Your Question
0

ImportError: dlopen failed: library "libopencv_intensity_transform.so.4.4" not found

asked 2020-11-09 01:56:07 -0600

tanloc gravatar image

Hi,

I installed opencv (version 4.4.0-2) on Termux app (Android 9) via its-pointless repo. The installation was successfully. However, when I tried to import cv2, below errors occurred. I had tried to find solution on the internet but could not get any solution for this. Please help take a look on this.

Thanks,


$ python

Python 3.9.0 (default, Oct 8 2020, 15:54:02) [Clang 9.0.8 (https://android.googlesource.com/tool... 98c855489 on linux

Type "help", "copyright", "credits" or "license" for more information.

$$ import cv2

Traceback (most recent call last):

File "", line 1, in

File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/cv2/init.py", line 96, in bootstrap()

File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/cv2/init.py", line 86, in bootstrap import cv2

ImportError: dlopen failed: library "libopencv_intensity_transform.so.4.4" not found

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-11-14 11:02:08 -0600

tanloc gravatar image

Uninstalling opencv and then executing: pkg install libopencv-contrib. Contrib fixed the issue in my case. Thanks members of Reddit forum for guiding me.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-11-09 01:52:21 -0600

Seen: 1,407 times

Last updated: Nov 09 '20