You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description
I can't use opencv in python anymore
It worked until two days ago I installed some packages and ran pkg update
Now on importing it says
>>>importcv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/cv2/__init__.py", line 96, in <module>
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: cannot locate symbol "_ZN6google8protobuf8internal18EpsCopyInputStream12DoneFallbackEPKci" referenced by "/data/data/com.termux/files/usr/lib/libopencv_dnn.so.4.5.0"...
Some people suggested to pkg install libopencv-contrib
But it ends up in
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libopencv-contrib : Depends: opencv but it is not going to be installed
Depends: opencv (= 4.4.0-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Steps to reproduce
subscribe to its-pointless-repo
run pkg install opencv
Expected behavior import cv2 in python would work
Additional information
I ran pkg show opencv libopencv-contrib
and was curious about the conflict and depend:
In issue #6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.
Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.
[skip ci]
%ci:no-build
Problem description
I can't use opencv in python anymore
It worked until two days ago I installed some packages and ran
pkg update
Now on importing it says
Some people suggested to
pkg install libopencv-contrib
But it ends up in
Steps to reproduce
pkg install opencv
Expected behavior
import cv2
in python would workAdditional information
I ran
pkg show opencv libopencv-contrib
and was curious about the conflict and depend:
The text was updated successfully, but these errors were encountered: