本文介绍了无法打开cqlsh Apache cassandra-ImportError:没有名为cqlshlib的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是cassandra的新手!已经下载了apacahe cassandra 2.1.2程序包,并且最初能够连接到cqlsh,但是在安装CCM之后我无法连接,将出现以下错误

I am new to cassandra ! Have downloaded the apacahe cassandra 2.1.2 package and initialy was able to connect to cqlsh but then after installing CCM i am unable to connect , will get the following error

Traceback (most recent call last):
File "bin/cqlsh", line 124, in <module>
from cqlshlib import cql3handling, cqlhandling, pylexotron,sslhandling, copy
ImportError: No module named cqlshlib

预先感谢!

推荐答案

花了几天时间,仔细检查了移动重命名复制包。

Spent a couple of days, scouring the net moving renaming copying packages .

此错误最有效的解决方法:

Easiest workaround for this error that worked :

pip install cqlsh

这篇关于无法打开cqlsh Apache cassandra-ImportError:没有名为cqlshlib的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 19:10