So used to google, forgot to check the python docs:<br><br><a href="http://docs.python.org/faq/windows.html">http://docs.python.org/faq/windows.html</a><br><br>and this should be useful as well, which is from:<br><br><a href="http://stackoverflow.com/questions/5030362/how-to-use-opencv-in-python">http://stackoverflow.com/questions/5030362/how-to-use-opencv-in-python</a><br>
<table><tbody><tr><td class="votecell"><div class="vote">
    <span class="vote-count-post"></span><br>
    

 
</div>

        </td>
        


<td class="answercell">
    <div class="post-text"><p>"I suspect you have the same problem I've 
run into.  If you have a 64-bit version of Python, it cannot load 32-bit
 DLLs.  OpenCV currently only ships 32-bit binaries.  If you want 64-bit
 .pyd and .dll files, you have to compile them yourself.  There are some
 <a href="http://opencv.willowgarage.com/wiki/VisualC%2B%2B" rel="nofollow">instructions</a> on the OpenCV Wiki, but it's not for the faint of heart.  Expect to have a substantial time investment.</p>

<p>The easiest solution is to:</p>

<ol><li>Uninstall 64-bit Python </li><li>Install a 32-bit distribution.  </li></ol>

<p>The PythonXY distribution includes pyopencv -- a good set of OpenCV 
hooks.  The only limitation is that it's 32-bit, so don't make plans to 
process gigapixel astronomy data with it!  ;)</p>

<p>If you <em>must</em> have the 64-bit version, follow <a href="http://redkiing.wordpress.com/2010/10/03/opencv-and-visual-studio-2010-with-cmake/" rel="nofollow">these instructions</a>
 to get it OpenCV to compile with Visual Studio 2010.  There's a 
discussion on stackoverflow that describes building 64-bit apps with VC 
Express."</p><p><br></p><p>And again, check on the pywin mailing list<br></p>
</div></td></tr></tbody></table><br><br><br>-- <br>Best Regards,<span style="font-family:arial,helvetica,sans-serif"><br>David Hutto</span><br><i><b>CEO:</b></i> <u><a href="http://www.hitwebdevelopment.com" target="_blank">http://www.hitwebdevelopment.com</a></u><br>
<br>