Cassandra及其pythondri中的“总线错误”

2024-06-13 10:42:10 发布

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

我正在和卡桑德拉一起使用odroid-xu4和它的Ubuntu-14映像。(我还尝试了Ubuntu-15图像。(http://odroid.com/dokuwiki/doku.php?id=en:xu3_release_linux_ubuntu
我安装了最新的cassandra及其python驱动程序。 但是,尝试从cassandrapython驱动程序连接到它会导致serios总线错误,并使python退出。甚至没有例外。你知道吗

from cassandra.cluster import Cluster
k = Cluster(['127.0.0.1'])
k.connect() 
#crashes the python. Bus error appears on the command prompt/terminal

有人能给我指出正确的方向吗?看起来东西之间有些不相容。我确认我能成功地去卡桑德拉。你知道吗


Tags: the图像comidhttpubuntu驱动程序en