building sasl.wrapper extention yum install gcc-c++ python-devel.x86_64 cyrus-sasl-devel.x86_64 pip install pyhs2 ref: https://www.oschina.net/question/3067165_2208165