python连接hive

1.python连接hive,其实是连接hiveserver,连接的包的impyla

2. impyla安装:

  error:   cc1plus 没有文件或目录  

              需要安装gcc 和g++,并且版本保持一致

  error:   sasl/sasl.h: 没有那个文件或目录     

              sudo apt-get install libsasl2-dev

  

         

posted @ 2017-07-09 16:48  三美元  阅读(1823)  评论(0编辑  收藏  举报