在命令行执行cqlsh.bat时,我会收到以下消息
Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError("cql_version '3.3.0' is not supported by remote (w/ native protocol). Supported versions: [u'3.2.0']",)})
我正在使用Python版本2.7.10以及Cassandra版本2.2.1。不确定是否相关,但当我启动Cassandra服务器时,我需要在PowerShell上运行"Set-ExecutionPolicy Unrestricted",否则它无法工作。