Anaconda: cannot import cv2 even though opencv is installed (how to install opencv3 for python3)
<p>I have Anaconda (version: conda 4.2.9, python3) installed and am trying to do <code>import cv2</code> when I get the following error:</p>
<pre><code>ImportError: No module named 'cv2'
</code></pre>
<p>With <code>conda search cv2</code> I get this:</p>
<pre><code>  opencv                     2.4.2                np15py26_0  defaults        
                             2.4.2                np15py27_0  defaults        
                             2.4.2                np16py26_0  defaults        
                             2.4.2                np16py27_0  defaults        
                             2.4.2                np17py26_0  defaults        
                             2.4.2                np17py27_0  defaults        
                             2.4.2                np15py26_1  defaults        
                             2.4.2                np15py27_1  defaults        
                             2.4.2                np16py26_1  defaults        
                             2.4.2                np16py27_1  defaults        
                             2.4.2                np17py26_1  defaults        
                             2.4.2                np17py27_1  defaults        
                             2.4.6                np16py26_0  defaults        
                             2.4.6                np16py27_0  defaults        
                             2.4.6                np17py26_0  defaults        
                             2.4.6                np17py27_0  defaults        
                             2.4.6                np18py26_0  defaults        
                             2.4.6                np18py27_0  defaults        
                             2.4.9                np18py27_0  defaults        
                             2.4.10               np19py26_0  defaults        
                             2.4.10               np19py27_0  defaults        
                             2.4.10              np110py27_1  defaults        
                             2.4.10               np19py26_1  defaults        
                             2.4.10               np19py27_1  defaults        
</code></pre>
<p>What do I need to do to be able to import the cv2 module?</p>
<p>I am using Ubuntu 16.04.</p>