pip install ThriftHive 失败了

5G架构师 发布于 2017/05/17 15:17
阅读 305
收藏 0

>>> from hive_service import ThriftHive
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named hive_service
>>> from hive_service.ttypes import HiveServerException
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named hive_service.ttypes
>>> from thrift import Thrift
>>> from thrift.transport import TSocket
>>> from thrift.transport import TTransport
>>> from thrift.protocol import TBinaryProtocol
>>> 
>>> 
>>> from hive_service import ThriftHive
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named hive_service
>>> 
[1]+  Stopped                 python
[root@test]# pip install hive_service
Collecting hive_service
  Could not find a version that satisfies the requirement hive_service (from versions: )
No matching distribution found for hive_service
[root@test]# pip install ThriftHive
Collecting ThriftHive
  Could not find a version that satisfies the requirement ThriftHive (from versions: )
No matching distribution found for ThriftHive
 

加载中
0
mickelfeng
mickelfeng

Could not find a version that satisfies the requirement ThriftHive

0
wei2011
wei2011

搜了一下,包名应该叫PyHive,所以应该pip install PyHive

返回顶部
顶部