Skip to content Skip to sidebar Skip to footer

Opencv Not Working With Python3

I am getting this error while running a simple Python3 with opencv program on ubuntu 16.10. OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library wi

Solution 1:

It took more than 2 hours but its done now! I went to this documentation of opencv and followed the step to install opencv 3.3.0-dev. After complete installation it was still not working so i uninstalled the opencv-python using

sudo pip3 uninstall opencv-python

now errors were not showing up but still the image was not displayed until i added

cv2.waitKey()

at the end of the program. Now its working fine!!!

Solution 2:

What you had tried is more suitable for python2. You are using python3 (as I can see from your question). I guess you're installing cv module using pip3 install command. It works but provides the module with decreased functionality: as you see for one from highgui module 'The function is not implemented.'

The solution: try the 1st answer from here and install opencv module manually step-by-step as described.

Post a Comment for "Opencv Not Working With Python3"