情况
我们在启动hbase的thrift服务后使用python来进行测试连接hbase时报错ImportError: No module named thrift。
完整报错如下:
[root@host252 thrift]# python test.py
Traceback (most recent call last):
File "test.py", line 3, in <module>
from thrift import Thrift
我们在启动hbase的thrift服务后使用python来进行测试连接hbase时报错ImportError: No module named thrift。
完整报错如下:
[root@host252 thrift]# python test.py
Traceback (most recent call last):
File "test.py", line 3, in <module>
from thrift import Thrift