banner
李大仁博客

李大仁博客

天地虽大,但有一念向善,心存良知,虽凡夫俗子,皆可为圣贤。

解决Python Error 'TSaslClientTransport' object has no attribute 'trans'

解决 Python Error 'TSaslClientTransport' object has no attribute 'trans' 原因应该是 thrift 和 impyla 包版本的问题

sudo pip uninstall thrift
sudo pip uninstall impyla
sudo pip install thrift==0.9.3
sudo pip install impyla==0.13.8

参考 http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/Python-Error-TSaslClientTransport-object-has-no-attribute/m-p/58033

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.