python 连接 hive

1.python连接hive,其实是连接hiveserver,连接的包的impyla
impyla安装:
error: cc1plus 没有文件或目录
需要安装gcc 和g++,并且版本保持一致
error: sasl/sasl.h: 没有那个文件或目录
sudo apt-get install libsasl2-dev

posted @ 2017-10-13 14:07  Alien_Lee  阅读(235)  评论(0编辑  收藏  举报