pyhive 安装sasl

python连接hive,需要安装pyhive,依赖sasl,windows安装sasl,需要先安装一下基础环境,我的python版本是3.6,

1.下载sasl-0.2.1-cp36-cp36m-win_amd64.whl

2.pip install sasl-0.2.1-cp36-cp36m-win_amd64.whl

下载地址:Python Extension Packages for Windows - Christoph Gohlke (uci.edu)https://www.lfd.uci.edu/~gohlke/pythonlibs/#sasl

3.linux需要安装依赖

apt-get install libsasl2-dev

 

你可能感兴趣的:(python,hive,hive,python,windows)