Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92EE9914E for ; Wed, 22 Feb 2012 06:19:52 +0000 (UTC) Received: (qmail 69332 invoked by uid 500); 22 Feb 2012 06:19:50 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 69216 invoked by uid 500); 22 Feb 2012 06:19:47 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 69186 invoked by uid 99); 22 Feb 2012 06:19:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 06:19:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [124.247.243.222] (HELO mail3.impetus.co.in) (124.247.243.222) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 06:19:39 +0000 Received: from mail1.impetus.co.in ([fe80::4c95:4ec3:183e:2d3]) by Mail3.impetus.co.in ([fe80::443f:4f25:6889:b268%14]) with mapi id 14.01.0355.002; Wed, 22 Feb 2012 11:49:15 +0530 From: Rishabh Agrawal To: "user@cassandra.apache.org" Subject: Doubt regarding CQL Thread-Topic: Doubt regarding CQL Thread-Index: AczxKMnCy3BjAsd/TTuzcQbgolsEhw== Date: Wed, 22 Feb 2012 06:19:15 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.41.53] Content-Type: multipart/alternative; boundary="_000_D5515937F9B7CC409E7561CBF5124A640D4DDF0Bmail1impetuscoi_" MIME-Version: 1.0 --_000_D5515937F9B7CC409E7561CBF5124A640D4DDF0Bmail1impetuscoi_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello I have installed CQL drivers for python. When I try execute cqlsh I get fol= lowing error cql-1.0.3$ cqlsh localhost 9160 Traceback (most recent call last): File "/usr/local/bin/cqlsh", line 33, in import cql File "/usr/local/lib/python2.7/dist-packages/cql/__init__.py", line 22, i= n import connection File "/usr/local/lib/python2.7/dist-packages/cql/connection.py", line 18,= in < module> from cursor import Cursor File "/usr/local/lib/python2.7/dist-packages/cql/cursor.py", line 24, in = from cql.cassandra.ttypes import ( File "/usr/local/lib/python2.7/dist-packages/cql/cassandra/ttypes.py", li= ne 7, in 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 D= ata Big Costs?' at the Strata Conference, CA (Feb 28 - Mar 1) http://bit.ly= /bSMWd7. Listen to our webcast 'Hybrid Approach to Extend Web Apps to Tablets & Smar= tphones' available at http://bit.ly/yQC1oD. NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impe= tus does not represent, warrant and/or guarantee, that the integrity of thi= s communication has been maintained nor that the communication is free of e= rrors, virus, interception or interference. --_000_D5515937F9B7CC409E7561CBF5124A640D4DDF0Bmail1impetuscoi_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello

 

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/__init__.py", line 22, in <module>

    import connection

  File "/usr/local/lib/python2.7/dist-packages/= cql/connection.py", line 18, in < module>

    from cursor import Cursor

  File "/usr/local/lib/python2.7/dist-packages/= cql/cursor.py", line 24, in <module>

    from cql.cassandra.ttypes import (

  File "/usr/local/lib/python2.7/dist-packages/= cql/cassandra/ttypes.py", line 7, in <module>

    from thrift.Thrift import *

Import= Error: 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 - Ma= r 1) http://bit.ly/bSMWd7.

Listen to our webcast ‘Hybrid Approach to Extend Web Apps to Tablets = & Smartphones’ available at http://bit.ly/yQC1oD.


NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he 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 maintai= ned nor that the communication is free of errors, virus, interception or in= terference.
--_000_D5515937F9B7CC409E7561CBF5124A640D4DDF0Bmail1impetuscoi_--