title: Error: No module named cv2
body: <p><strong><em>I have already found few <a href="https://stackoverflow.com/questions/19876079/opencv-cannot-find-module-cv2">questions</a> at SO but i am unable to solve this problem using the answers there.</em></strong></p>
  
  <p>I am new to python. I am having python in Ubuntu 12.04. In my <code>/usr/local/lib</code>, there are two python folders <code>python 2.7</code> and <code>python 3.2</code>. <code>python 2.7</code> contains dist-packages and site-packages while <code>python 3.2</code> contains only dist-packages.</p>
  
  <p>I am trying to run a very simple opencv example with the following code:</p>
  
  <pre><code>import cv2
  import numpy as np
  from matplotlib import pyplot as plt
  
  img = cv2.imread('image.JPG')
  
  kernel = np.ones((5,5),np.float32)/25
  dst = cv2.filter2D(img,-1,kernel)
  
  plt.subplot(121),plt.imshow(img),plt.title('Original')
  plt.xticks([]), plt.yticks([])
  plt.subplot(122),plt.imshow(dst),plt.title('Averaging')
  plt.xticks([]), plt.yticks([])
  plt.show()
  </code></pre>
  
  <p><strong>Error:</strong> No module named cv2 </p>