安装
pip install cql
pip install cqlsh
常见问题
“Connection error: (‘Unable to connect to any servers’, {‘10.88.139.50’: DriverException(‘ProtocolError returned from server while using explicitly set client protocol_version 4’,)})”
解决方法:
退回到服务器支持的版本
pip install cqlsh==4.0.1
“TypeError: expecting list of size 2 for struct args”
解决方法
pip install thrift==0.9.3