How to install module and package in python
<p>I'm trying to start with OpenCV with python. I have experience c# and I have knowledge of c++. However, I feel more comfortable with python instead of c++. I installed OpenCV then python 3.4 in visual studio 2015. At the beginning I've received an error numpy, "Module couldn't be found", thankfully, I resolved it. The I got another error cv2 "Module couldn't be found" I asked an <a href="http://stackoverflow.com/questions/39460015/how-to-import-cv2-in-python-project-visual-studio-2015">question</a> yesterday, but I think the question has been left away. Anyways, I'm not complaining, but I still need some help please to stat with OpenCV in python.</p>

<p>Installing python 3.4 <strong>Successful</strong></p>

<p>Installing numpy      <strong>Successful</strong></p>

<p>installing matpilotlib <strong>Failed</strong></p>

<p><a href="http://i.stack.imgur.com/0P14N.jpg" rel="nofollow"><img src="http://i.stack.imgur.com/0P14N.jpg" alt="enter image description here"></a></p>

<p>installing cv2 <strong>Failed</strong></p>

<p><a href="http://i.stack.imgur.com/JcRE5.png" rel="nofollow"><img src="http://i.stack.imgur.com/JcRE5.png" alt="enter image description here"></a></p>

<p>can anybody help me please thanks a lot.</p>

<p>It's very common to install Python packages through <code>pip</code> today (recursive acronym for <em>pip installs packages</em>). However, this is not that trivial under Windows.</p>

<p><strong>How to install <code>matplotlib</code>:</strong></p>

<p>Try to open a commandline and type in <code>pip install matplotlib</code>. If this does not work, you'll need to do some more work to get <code>pip</code> running. I gave a detailed answere here: <a href="http://stackoverflow.com/questions/35919876/not-sure-how-to-fix-this-cmd-command-error/35919988#35919988">Not sure how to fix this Cmd command error?</a>.</p>

<p><strong>How to install OpenCV:</strong></p>

<p>The Python OpenCV DLL must be made for your version of Python and your system architecture (or, to be more specific, the architecture your Python was compiled for).</p>

<ul>
<li>Download OpenCV for your Python version (2/3)</li>
<li>Try replacing the x64 version with the x86 version</li>
<li>There are a lot of different binaries here: <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv</a>. Try to get the one exactly matching your Python version and System architecture and install it via <code>pip</code> (cp35 means CPython version 3.5 ect.).</li>
</ul>

<p>If you have the OpenCV .whl file matching your system configuration, do <code>pip install file.whl</code>.</p>

<p>Hope this helps!</p>

python windows python-3.x opencv visual-studio-2015