cqlsh TypeError('ref()不接受关键字参数')

sac*_*ale 4 cassandra cqlsh

尝试cqlsh时,发生以下错误:

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

sac*_*ale 11

当你有Cassandra 3.7和Python 2.7.12时会发生这种情况

根据CASSANDRA-11850,设置以下环境变量:

CQLSH_NO_BUNDLED=TRUE

  • 现在我得到`Python Cassandra驱动程序没有安装,或者没有安装在PYTHONPATH上.你可以试试"pip install cassandra-driver".` (2认同)