cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rishabh Agrawal <>
Subject Doubt regarding CQL
Date Wed, 22 Feb 2012 06:19:15 GMT

I have installed CQL drivers for python. When I try execute cqlsh I get following error

cql-1.0.3$ cqlsh localhost 9160
Traceback (most recent call last):
  File "/usr/local/bin/cqlsh", line 33, in <module>
    import cql
  File "/usr/local/lib/python2.7/dist-packages/cql/", line 22, in <module>
    import connection
  File "/usr/local/lib/python2.7/dist-packages/cql/", line 18, in < module>
    from cursor import Cursor
  File "/usr/local/lib/python2.7/dist-packages/cql/", line 24, in <module>
    from cql.cassandra.ttypes import (
  File "/usr/local/lib/python2.7/dist-packages/cql/cassandra/", line 7, in <module>
    from thrift.Thrift import *
ImportError: No module named thrift.Thrift

Kindly help me with that asap.

Thanks and Regards
Rishabh Agrawal


Impetus' Head of Innovation labs, Vineet Tyagi will be presenting on 'Big Data Big Costs?'
at the Strata Conference, CA (Feb 28 - Mar 1)

Listen to our webcast 'Hybrid Approach to Extend Web Apps to Tablets & Smartphones' available

NOTE: This message may contain information that is confidential, proprietary, privileged or
otherwise protected by law. The message is intended solely for the named addressee. If received
in error, please destroy and notify the sender. Any use of this email is prohibited when received
in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors, virus, interception
or interference.

View raw message