python 连接 hive

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

原文地址:https://www.cnblogs.com/lqruui/p/7660866.html