When executing the following command:
/usr/bin/cqlsh 127.0.0.1
Error encountered:
Traceback (most recent call last):
File "/usr/bin/cqlsh.py", line 169, in <module>
from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling
ImportError: cannot import name cqlshhandling
Even though I found the cqlshhandling.py script in the following directory:
/usr/lib/python2.7/dist-packages/cqlshlib
The command which cqlsh
shows /usr/local/bin/cqlsh. This is from pip install cqlsh
.
Currently used command is from cassandra itself. What do I set to get cqlsh running?