连接错误:TypeError('ref()不接受关键字参数',)})

2024-04-28 04:36:24 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用ubantu16.04和Cassandra,同时在终端上调用'cqlsh'命令,它会给我错误。在

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

当Nodetool状态为启动并运行时

^{pr2}$

我检查了这个错误,发现了与python2.7.12的兼容性问题,这是ubantu16.04中的默认值。在

在它运行find之前,它突然开始向我请求对cassandra日志的读写权限,之后它正在运行,但cqlsh不工作。在

但是我能够从eclipse读取和创建表


Tags: to命令ref终端connect错误anyerror