OpenCV-for-Pi
OpenCV-for-Pi copied to clipboard
Installation fine, but then this....
ImportError: libavcodec.so.56.: cannot open shared object file: No such file or directory
EDIT: raspbian stretch, latest
Any pointer welcome
same problem
Ditto. Used a browser to display the steps, then copy/paste into an lxterminal window to eliminate typos. Everything went as expected until I typed "import cv2" into python.
Just thought I'd add some detail. System is pi zeroW OS is Stretch libavcodec.so.56 does not exist, however a newer version, libavcodec.so.57 does exist.
Perhaps the issue has to do with the three of us that have reported this issue running 'Stretch". And, just maybe you compiled/linked openCV on Jessie???
The solution is to go and install version 56 I suppose. Been a bit of a pain but install an older version of ffmpeg did it for me. Would be cool to see an update to this tho! :)
@neilyoung https://github.com/abhiTronix/OpenCV_Raspberry_pi_TBB Latest ;)