title: How to install Python 2.7 bindings for OpenCV using MacPorts
body: <p>When trying to "import cv" in python I get: "ImportError: No module named cv". This question has appeared in many forms, but I haven't found the answer that helps.</p>
  
  <p>On my Mac OS X Lion, among many other ports, I have run:</p>
  
  <pre><code>sudo port install python27
  </code></pre>
  
  <p>and</p>
  
  <pre><code>sudo port install opencv +python27
  </code></pre>
  
  <p>Running:</p>
  
  <pre><code>port select python
  </code></pre>
  
  <p>I see: "python27 (active)"</p>
  
  <p>And running: </p>
  
  <pre><code>port installed opencv
  </code></pre>
  
  <p>I see: "opencv @2.3.1a_1+python27 (active)"</p>
  
  <p>What else should I check?  Thanks.</p>