title: Insert ".so" in IDLE or Pycharm
body: <p>i just finished to install OpenCV,<br>
  The main problem is that <code>import cv2</code> works only when run from the shell. in this case:</p>
  
  <pre><code>$ python3 
  Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  5 2014, 20:42:22)  
  [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin 
  Type "help", "copyright", "credits" or "license" for more information. 
  &gt;&gt;&gt; import cv2 
  &gt;&gt;&gt;
  </code></pre>
  
  <p>And that's fine.<br>
  If we try to import cv2 from IDLE this is what happens:</p>
  
  <pre><code>Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  5 2014, 20:42:22) 
  [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
  Type "copyright", "credits" or "license()" for more information.
  &gt;&gt;&gt; import cv2
  Traceback (most recent call last):
  File "&lt;pyshell#0&gt;", line 1, in &lt;module&gt;
  import cv2
  ImportError: No module named 'cv2'
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>This happens because idle and Pycharm to doesn't know the path of the cv2.so file.
  We would like to make possible to import cv2 also from IDLE or Pycharm.</p>
  
  <p>Can somebody help us?
  Federico</p>
  
  <p>edit </p>
  
  <p>Python3.4 Shell sys.path :</p>
  
  <pre><code>['', '/Users/n1/Documents', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python34.zip',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/plat-darwin',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages']
  </code></pre>
  
  <p>Terminal Python3.4 sys.path :</p>
  
  <pre><code>['', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python34.zip',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/plat-darwin',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload',
  '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages']
  </code></pre>