title: How can I import hbase in python?
body: <p>I'm trying to play around with hbase in python and I am using the cloudera repository to install the hadoop/hbase packages.  It seems to work as I can access and work on the database using the shell but its not fully working within python.</p>
  
  <p>I know to communicate with hbase I need thrift so I downloaded and complied it from source, I can import thrift into python but when I do <code>from hbase import Hbase</code>, I get module not found errors. </p>
  
  <p>Does anyone know what package/module I would need to get it to work? I tried to look around easy_install and yum(I'm using centos6) and no luck.  I did find an article where a person using debain installed it by doing <code>sudo aptiutde install python-hbase</code>  I don't have that command/package, so I'm not sure how to get it(or if I have to compile from source to get it).</p>
  
  <p>Also if it helps, I installed most of the base from cloudera and followed some instructions(the ones didn't require install) from <a href="http://yannramin.com/2008/07/19/using-facebook-thrift-with-python-and-hbase/" rel="nofollow">http://yannramin.com/2008/07/19/using-facebook-thrift-with-python-and-hbase/</a></p>
  
  <p>Any help/tips/suggestions would be great.</p>
  
  <p>Thanks!</p>