Dependency on libvpx
Hello every one ,
i'm using OpenCv on Raspberry Pi. I just did an apt-get update & upgrade then opencv stops working. This line was the Problem:
from .cv2 Import *
ImportError: libvpx.so.4: cannot open shared object file: No such file or Directory
I tried to install libvpx and libvpx-dev but it does not work. Anyone knows how to fix this?
opencv does not maintain any prebuild python packages.
you'll have to make an issue with the actual maintainer of whatever you got there
when in doubt, build from src
@leminhduc2412. You cannot used this
from .cv2 Import *
You must know what the namespace you wanted to extract. For instance:Btw, @leminhduc2412. I am using rpi 3.
Thanks for the replies.
By that line i meant the line in the __init__ file of cv2. First i did "Import cv2" then it yields that error
After you downloaded, did you installed
pip3 install opencv-python
?libvpx seems to be a dependancy of the 3rdparty webm image codec.
but again, this is not really an opencv problem, more a redistribution one.
ping the maintainers of your raspi package, we cannot help you here.