CQLSH ProtocolError

Viewed 2414

I have an error with cqlsh when I type cqlsh to start cassandra shell where cassandra server is already started this error appears

Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError("cql_version '3.3.1' is not supported by remote (w/ native protocol). Supported versions: [u'3.4.2']",)})

I also already installed cassandra-driver and export CQLSH_NO_BUNDLED=true but nothing changes could anyone have any idea to solve this ?!! my cassandra version is 3.6

2 Answers

Try following commands

sudo apt install python-pip
pip install cassandra-driver
export CQLSH_NO_BUNDLED=true
Related