OpenCV doesn't work on Python?
<p>I go here to install OpenCV on my Mac (I am on OS X 10.11 mbut OS X 10.11 is probably the same method...) <a href="http://www.learnopencv.com/install-opencv-3-on-yosemite-osx-10-10-x/" rel="nofollow">http://www.learnopencv.com/install-opencv-3-on-yosemite-osx-10-10-x/</a></p>

<p>so i type in my mac terminal</p>

<pre><code>brew tap homebrew/science
brew install opencv
</code></pre>

<p>then</p>

<pre><code>cd /Library/Python/2.7/site-packages/
ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv.py cv.py
ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv2.so cv2.so
</code></pre>

<p>all commands succesful completed</p>

<p>but... I have an error when importing openCV, why ?</p>

<pre><code>python
&gt;&gt;&gt; import cv
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named cv
&gt;&gt;&gt; import cv2
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named cv2
&gt;&gt;&gt; import cv3
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named cv3
</code></pre>