python配置单元连接中的问题

exdqitrt  于 2021-06-26  发布在  Hive
关注(0)|答案(0)|浏览(245)

我正在尝试将python与hive连接,在终端上收到以下消息:

Traceback (most recent call last):
File "eg.py", line 18, in <module>
database='default')

File "/home/ashok/.local/lib/python2.7/site-packages/pyhs2/init.py", line 6, in connect from .connections import Connection ```
File "/home/ashok/.local/lib/python2.7/site-packages/pyhs2/connections.py", line 7, in
from cloudera.thrift_sasl import TSaslClientTransport
ImportError: No module named cloudera.thrift_sasl

即使做了一些谷歌的工作,我也找不到答案。帮帮我。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题