Python 3.5 ImportError: dynamic module does not define module export function (PyInit_cv2)
<p>This is what I'm getting when i try to import cv2 into python3.5 IDLE. 
I'm using OpenCV 3.1.0 Python3.5.2 Ubuntu 16.04</p>

<p>I tried lots of installing methods but no one solved my problem, i had the import working on terminal but it just stopped as well.
Anyone might have a solution?</p>

<pre><code>import cv2
Traceback (most recent call last):
  File "&lt;pyshell#0&gt;", line 1, in &lt;module&gt;
    import cv2
ImportError: dynamic module does not define module export function (PyInit_cv2)
</code></pre>

<p>Edit: I followed the tutorials on this links:</p>

<p><a href="http://docs.opencv.org/3.0-last-rst/doc/tutorials/introduction/linux_install/linux_install.html" rel="nofollow">http://docs.opencv.org/3.0-last-rst/doc/tutorials/introduction/linux_install/linux_install.html</a></p>

<p><a href="http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/" rel="nofollow">http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/</a></p>