Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

When trying to cqlsh, following error is occuring:

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

like image 506
sachinpkale Avatar asked Dec 18 '22 13:12

sachinpkale


1 Answers

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

like image 105
sachinpkale Avatar answered May 16 '23 08:05

sachinpkale