Note that there are some explanatory texts on larger screens.

plurals
  1. POOpencv 2.2 not recognized on Python 2.7 (Ubuntu/Windows XP)
    text
    copied!<p>I've been trying to connect opencv and python in both Ubuntu and Windows XP. I've failed on both. </p> <p>I've read many webpages and threads about "how to install" it but none has worked (the worst part is that they all say kind of the same).</p> <p>Steps (windows xp):</p> <ul> <li>Installed Python 2.7 by default (works perfectly)</li> <li>Installed PIL and cx_Freeze (may they create a conflict? I don't think so :s)</li> <li>Installed Opencv 2.2 by default (OpenCV-2.2.0-win32-vs2010.exe) and it isn't recognized inside a py nor as import opencv.cv nor using the cookbook way, import cv (I skipped the visual studio steps since I'll use it with python)</li> <li>Checked path (it's ok, it has the Opencv2.2\bin thing)</li> <li>Rechecked webpages and stuff</li> </ul> <p>Steps (ubuntu):</p> <ul> <li>Had python working</li> <li>sudo apt-get install, cmake, make, sudo make install, etcetc (from the<br> tutorials)</li> <li>same thing... module not recognized</li> </ul> <p>Please can you help?</p> <p><strong>Update:</strong></p> <p>I managed to install it and have it recognized by the system (I used <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv</a> and it worked perfectly after that). </p> <p>The problem now is that it crashes when I try to use <code>CaptureFromFile</code>. Someone else has reported it 3 days ago so now I wait.</p> <p>I'll check the other wrappers, maybe one of them will work.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload