incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dunphy <>
Subject can't get cqlsh running
Date Thu, 11 Oct 2012 15:45:29 GMT
Hey guys,

 I'm on cassandra 1.1.5 on a centos 5.8 machine. I have the cassandra bin
directory on my path so that i can simply type 'cassandra-cli' from
anywhere on my path to get into the cassandra command line environment.
It's great!

But I'd like to start using the cql shell (cqlsh) but apparently I don't
know enough about python to get this working. This is what happens when I
try to run cqlsh:

[root@beta:~] #cqlsh

Python CQL driver not installed, or not on PYTHONPATH.
You might try "easy_install cql".

Python: /usr/bin/python2.6
Module load path: ['/usr/local/apache-cassandra-1.1.5/bin/../pylib',
'/usr/local/apache-cassandra-1.1.5/bin', '/usr/lib64/',
'/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2',
'/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old',
'/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages',

Error: No module named cql

But easy_install claims that it's already installed:

[root@beta:~] #easy_install cql
Searching for cql
Best match: cql 1.0.10
Processing cql-1.0.10-py2.4.egg
cql 1.0.10 is already the active version in easy-install.pth

Using /usr/lib/python2.4/site-packages/cql-1.0.10-py2.4.egg
Processing dependencies for cql

I'm thinking that I just don't know how to set the PYTHONPATH variable or
where to point it to. Can someone give me a pointer here?


GPG me!!

gpg --keyserver --recv-keys F186197B

View raw message