title: OpenCV: libdc1394 error: Failed to initialize libdc1394
body: <p>I installed OpenCV correctly on Ubuntu 14.04. However, when I run: <code>import cv2</code> I get this error message: </p>
  
  <pre><code>&gt;&gt;&gt; import cv2
  libdc1394 error: Failed to initialize libdc1394
  </code></pre>
  
  <p>I read the answers to this <a href="https://stackoverflow.com/questions/12689304/ctypes-error-libdc1394-error-failed-to-initialize-libdc1394">question</a> (and the different links posted there such as <a href="http://www.linuxforums.org/forum/ubuntu-linux/171972-libdc1394-error.html" rel="nofollow noreferrer">this</a> interesting but finally useless one for my case) but no solution worked for me. I have no such file <code>/dev/raw1394</code>. So I installed the library:</p>
  
  <pre><code>sudo apt-get install libdc1394-22-dev libdc1394-22 libdc1394-utils
  </code></pre>
  
  <p>But still get the same error.</p>
  
  <p>Note that this <a href="https://stackoverflow.com/questions/12689304/ctypes-error-libdc1394-error-failed-to-initialize-libdc1394/26028597#26028597">answer</a> is the only one that works for me, however I can not pick it because I need to use camera in my application.</p>
  
  <p>How can I resolve this ?</p>