title: `Fatal Python error: PyThreadState_Get: no current thread` after `import cv´
body: <p>I installed OpenCV via <code>sudo brew install opencv</code>. </p>
  
  <p>Then I added  <code>PYTHONPATH</code>* to my <code>~/.profile</code> as <code>brew info opencv</code> says**. With <code>env</code> I checked that the path was loaded. </p>
  
  <p>Now everytime I try to <code>import cv</code>, Python gives following error: <code>Fatal Python error: PyThreadState_Get: no current thread Abort trap</code>.</p>
  
  <p><strong>What should I do?</strong></p>
  
  <hr>
  
  <p>*<code>PYTHONPATH=/usr/local/lib/python2.7/site-packages/:</code></p>
  
  <p>** actually, it points to folder <code>python2.6</code> but 2.7 is the Python version I use and <a href="http://opencv.willowgarage.com/wiki/InstallGuide#Prerequisites" rel="nofollow">cv 2.2. supports it</a>.</p>