title: AttributeError: module 'cv2' has no attribute 'imread'
body: <p>(i'm on mac os 10.8.5)</p>
  
  <p>I'm using Python 3 (through jupyter notebook) and trying to <code>import cv2</code></p>
  
  <p>I did <code>import cv2</code>  succefully, but when I type <code>im_g = cv2.imread("smallgray.png", 0)</code>  I get this error:</p>
  
  <pre><code>---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-7-5eb2880672d2&gt; in &lt;module&gt;()
  ----&gt; 1 im_g = cv2.imread("smallgray.png", 0)
  
  AttributeError: module 'cv2' has no attribute 'imread'
  </code></pre>
  
  <p>I also checked <code>dir(cv2)</code>  and I get:</p>
  
  <pre><code>['__doc__', '__loader__', '__name__', '__package__', '__path__', '__spec__'
  </code></pre>
  
  <p>I guess a lot of functions are missing...
  Is it due to a wrong opencv installation ?
  Actually I struggled a lot to get opencv and I guess I installed it 'too many times' and different ways via Terminal. (<code>brew</code>, <code>pip</code>)</p>
  
  <p>Should I uninstall opencv and start over ? How can I do this properly ?</p>
  
  <p>Thx in advance</p>