After installing Cassandra 3.11 version on ubuntu 19.04 I am getting the following error once I fire command cqlsh
root@dnilesh:/etc/cassandra# cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError('Unexpected response during Connection setup: AttributeError("\'module\' object has no attribute \'decompress\'",)',)})
Cassandra service is up and running but not able to connect cqlsh terminal.
For me this worked:
After the last cqlsh there was a problem with missing cassandra-driver, and installing through sudo pip... didn't work I had to switch to root user!