title: Importing openCV in python idle error: shared object file
body: <p>I have been trying to use the cv2 library in python (in IDLE on raspberry pi 3) but I can't manage to import it successfully.</p>
  
  <p>when I type import cv2, I get this:</p>
  
  <pre><code>Traceback (most recent call last):
  File "/home/pi/Desktop/python/test.py", line 2, in &lt;module&gt;
  from .cv2 import *
  ImportError: libjasper .so.1: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I have used the terminal to update, upgrade, and install opencv along with pretty much every other thing I could find relating to opencv or lib. I currently can import cv2 in the terminal but not in IDLE. What do I need to do to be able to import the cv2 library? Thanks in advance.</p>