Home > 系统管理 > 解决Python Error ‘TSaslClientTransport’ object has no attribute ‘trans’

解决Python Error ‘TSaslClientTransport’ object has no attribute ‘trans’

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

1
2
3
4
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

Categories: 系统管理 Tags: ,
  1. No comments yet.
  1. No trackbacks yet.