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 3E8EB1016D for ; Wed, 6 Nov 2013 10:43:46 +0000 (UTC) Received: (qmail 32564 invoked by uid 500); 6 Nov 2013 10:43:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 32501 invoked by uid 500); 6 Nov 2013 10:43:35 -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 32487 invoked by uid 99); 6 Nov 2013 10:43:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 10:43:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erwin.karbasi@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 10:43:27 +0000 Received: by mail-we0-f178.google.com with SMTP id q59so4641093wes.23 for ; Wed, 06 Nov 2013 02:43:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=eIEQ/iaabmm3iISf+mOsDa8YmP9dQjUET8ib73r/MqY=; b=bj+EcOWatLblMueFskSl6cwu1yOLXHqcecnVdrrEhBbM8dQdWU44Ff5ga7pg0eCnyd Z2XveBLo4hgUodz+ZnscHoUMugVbLyTnrv7HtYelzA5HcqJ6P5brts39eYcumJT+iR0z GYugRQL0XMd56ODLr7a5tTWIrpDHKfx88b164bSzZtrxXLhreRoG0udH5X6e9UGJb798 aqujwcoble8nteFhgVriZ7x7mD61c1XVzi/hdxvGsWiw3NUa1zZlH3Uflhrv4+qhjXRD gauHWaE6Rz80YB4gscguzPPXIQQMuVkHaUdgybkBmjSVfryUDZqUzzHWHpJ1AUhwkT32 romw== X-Received: by 10.180.92.100 with SMTP id cl4mr20617966wib.1.1383734585733; Wed, 06 Nov 2013 02:43:05 -0800 (PST) MIME-Version: 1.0 Sender: erwin.karbasi@gmail.com Received: by 10.217.11.135 with HTTP; Wed, 6 Nov 2013 02:42:35 -0800 (PST) In-Reply-To: References: From: Erwin Karbasi Date: Wed, 6 Nov 2013 12:42:35 +0200 X-Google-Sender-Auth: 7BPu31eHVRKEmuungMLROfJ6VP0 Message-ID: Subject: Re: Running cqlsh throws "No appropriate python interpreter found." To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=f46d04388e537239dd04ea7fd0aa X-Virus-Checked: Checked by ClamAV on apache.org --f46d04388e537239dd04ea7fd0aa Content-Type: text/plain; charset=ISO-8859-1 Now I'm experiencing this: [iwuser@erwin-lab2 bin]$ ./cqlsh Python CQL driver not installed, or not on PYTHONPATH. You might try "easy_install cql". Python: /usr/local/bin/python2.6 Module load path: ['./../lib/thrift-python-internal-only-0.9.1.zip', './../lib/cql-internal-only-1.4.1.zip/cql-1.4.1', '/home/iwuser/dsc-cassandra-2.0.2/bin', '/usr/local/bin/python2.6', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/python2.6/plat-linux2', '/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages'] *Error: can't decompress data; zlib not available* Any idea? Thanks, Erwin Karbasi AT&T, Senior Software Architect On Wed, Nov 6, 2013 at 9:27 AM, Erwin Karbasi wrote: > Hello All, > > I have installed Cassandra Datastax community edition 2.2 and python 2.6 > but when I run ./cqlsh I faced with the following error: > "No appropriate python interpreter found." > > I know that the error indicates that I have incompatible Python version > but I've already installed Python 2.6 and as it seems cqlsh still uses my > old version and not the new 2.6 version. > > Any suggestion that shed some light would highly appreciated? > > My OS is Linux RHEL 5. > > Thanks in advance, > Erwin Karbasi > AT&T, Senior Software Architect > --f46d04388e537239dd04ea7fd0aa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Now I'm experiencing this:

[iwuser@erwin-l= ab2 bin]$ ./cqlsh

Python CQL driver not installed, or not on PYTHONP= ATH.
You might try "easy_install cql".

Python: /usr/loc= al/bin/python2.6
Module load path: ['./../lib/thrift-python-internal-only-0.9.1.zip'= , './../lib/cql-internal-only-1.4.1.zip/cql-1.4.1', '/home/iwus= er/dsc-cassandra-2.0.2/bin', '/usr/local/bin/python2.6', '/= usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/= usr/local/lib/python2.6/plat-linux2', '/usr/local/lib/python2.6/lib= -tk', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/p= ython2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages'= ]

Error: can't decompress data; zlib not available

Any idea?

Thanks,
Erwin Karbasi
AT&T, Senior Software Architect


On Wed, Nov 6, 2013 at 9:27 AM, Erwin Ka= rbasi <erwin@optinity.com> wrote:
Hello All,

I have install= ed Cassandra Datastax community edition 2.2 and python 2.6 but when I run .= /cqlsh I faced with the following error:
"No appropriate python int= erpreter found."

I know that the error indicates that I have incompatible Python v= ersion but I've already installed Python 2.6 and as it seems cqlsh stil= l uses my old version and not the new 2.6 version.

Any suggest= ion that shed some light would highly appreciated?

My OS is Linux RHEL 5.

Tha= nks in advance,
Erwin Karbasi
AT&T, Senior Software Architect

--f46d04388e537239dd04ea7fd0aa--