cqlsh TypeError('ref() does not take keyword arguments',)

sachinpkale picture sachinpkale · Sep 26, 2016 · Viewed 6.9k times · Source

When trying to cqlsh, following error is occuring:

Connection error: ('Unable to connect to any servers', {'localhost': TypeError('ref() does not take keyword arguments',)})

Answer

sachinpkale picture sachinpkale · Sep 26, 2016

This happens when you have Cassandra 3.7 and Python 2.7.12

As per CASSANDRA-11850, set following environment variable:

CQLSH_NO_BUNDLED=TRUE