title: No module named thrift in Python script
body: <p>I've installed Thrift on my Mac using Homebrew: brew install thrift --with-python</p>
  
  <p>That did some work and finished w/o errors reported.  I have thrift on my path.</p>
  
  <p>I write a simple python client from a tutorial: (there is some python thrift code in gen-py)</p>
  
  <pre><code>#!/usr/bin/python
  
  import sys
  sys.path.append("./gen-py")
  
  from thrift import Thrift
  from thrift.transport import TSocket
  from thrift.transport import TTransport
  from thrift.protocol import TBinaryProtocol
  
  # rest of program...
  </code></pre>
  
  <p>When run I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "./hey.py", line 8, in &lt;module&gt;
      from thrift import Thrift
  ImportError: No module named thrift
  </code></pre>
  
  <p>Did I installed python correctly using Homebrew?  Is there a way I can verify the python/thrift integration is installed properly?</p>