libdc1394 error: Failed to initialize libdc1394
I installed OpenCV correctly on Ubuntu 14.04. However, when I run: import cv2
I get this error message:
>>> import cv2
libdc1394 error: Failed to initialize libdc1394
I read the answers fro a similar question, but all of them assume the existence of this file which I don't have: /dev/raw1394
. So I installed the library:
sudo apt-get install libdc1394-22-dev libdc1394-22 libdc1394-utils
But still get the same error.
Note that this answer is the only one that works for me, however I can not pick it because I need to use camera in my application.
How can I resolve this ?
Thank you in advance. Begueradj