Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F1CD8200CD7 for ; Tue, 1 Aug 2017 19:01:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EEC9E1678A9; Tue, 1 Aug 2017 17:01:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3F70D1678A8 for ; Tue, 1 Aug 2017 19:01:39 +0200 (CEST) Received: (qmail 79120 invoked by uid 500); 1 Aug 2017 17:01:37 -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 79110 invoked by uid 99); 1 Aug 2017 17:01:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2017 17:01:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E45B91806B0 for ; Tue, 1 Aug 2017 17:01:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.98 X-Spam-Level: X-Spam-Status: No, score=0.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pbandjelly-org.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GWnQWJBqx6ec for ; Tue, 1 Aug 2017 17:01:35 +0000 (UTC) Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7CE255F613 for ; Tue, 1 Aug 2017 17:01:35 +0000 (UTC) Received: by mail-oi0-f65.google.com with SMTP id j194so2944486oib.4 for ; Tue, 01 Aug 2017 10:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pbandjelly-org.20150623.gappssmtp.com; s=20150623; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=v6RrDRTjO66f0FmLuJ8vYprTM4wW+wtrRo8Yx9Q4rdw=; b=G1Ojm6BDoEMGU8cWh49HDpxBBjt/TkyuHwx+YOkIcmRTSVLTLfGNbOzT/Yl8AHVJid uWKgGFifd9mbeda+HOwAir467F3vzJWk0Og2ry4wqZ0HWB8mlKOsq7wt5P30SDAyI55a 4Rr1+ZVx+89cYXdwtbQ3Z6K0IN7hMU+S+gx2I81Khm/CN+ORdF94aW2ja+2sM1rfU4T0 /Al8ZTxA6EIuGrjnECWAkpARsRxG1M5wwWu3Z3TFuRw1WdaM2FWSey00l6/g187527Ir zp8YT+EmO1Kc962504WHjkSrUCdGbpjZ+WZ+bdoCY0dLQLv6vkWOz1j60K+BnLxSxgWx cbew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=v6RrDRTjO66f0FmLuJ8vYprTM4wW+wtrRo8Yx9Q4rdw=; b=Ba/24b/t0KSRM6axHgMCva7dedJOiwkvDNBpWlDyV2JzqHJ8xnoOjDQC6F6R3wSZNf 5lUWYfczjz+c4Fc22O08oRkS185RLM25KSIBRqXuVIt8VGeCQ2Xu1FnjUnyT557MY1Gf 0sKlNk+u+u8WhxIG52VCATAFgMSCNNzMKciSGPCPkTN7MQG95qF36nzAs5Rcq7SqeE/q JZtD32Nerdbg6P8kU6zoXWucdwLLsqhLE11z/SeV1I8RuaD0R99I6fjTls1fS9lJ21Lj 6J7kVdCPnU7BR2KizEINSTkv/jKRbQ9TiNGtvyY9SfliTcWdZ4VtKoddCpqRRs7F+sdl 3u6Q== X-Gm-Message-State: AIVw110AaVMzYRp2GYXO4GFZiUAnwcix8le2HKQKD2rUlNipEovcUm1q zAJU/9Du7J0Wysq29S0= X-Received: by 10.202.220.87 with SMTP id t84mr20225793oig.231.1501606892676; Tue, 01 Aug 2017 10:01:32 -0700 (PDT) Received: from ?IPv6:2605:6000:1018:c156:6e88:14ff:fe15:4124? ([2605:6000:1018:c156:6e88:14ff:fe15:4124]) by smtp.googlemail.com with ESMTPSA id s129sm30051176oif.41.2017.08.01.10.01.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 10:01:32 -0700 (PDT) Sender: Michael Shuler Subject: Re: Issue with cassandra 3.1X and Python 2.7.13 in Debian 8.8 To: user@cassandra.apache.org References: From: Michael Shuler Message-ID: <12c09039-f5f0-1627-0389-047161a7ded1@pbandjelly.org> Date: Tue, 1 Aug 2017 12:01:31 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit archived-at: Tue, 01 Aug 2017 17:01:40 -0000 /usr/local/bin/python is your own source install of python. Using the system python with cqlsh should "just work" on Jessie with `apt-get install python' -- Michael On 08/01/2017 01:05 AM, K Natarajan, Karthik (Nokia - IN/Bangalore) wrote: > Hi, > When I Install Cassandra 3.11X and Python 2.7.X in Debian 8.8, the Cqlsh > does not start. I get the following error. > > debian@vm-184:/opt/apache-cassandra-3.10/bin$ ./cqlsh > Python Cassandra driver not installed, or not on PYTHONPATH. You might > try "pip install cassandra-driver". > Python: /usr/local/bin/python Module load path: > ['/opt/apache-cassandra-3.10/bin/../lib/six-1.7.3-py2.py3-none-any.zip', > '/opt/apache-cassandra-3.10/bin/../lib/futures-2.1.6-py2.py3-none-any.zip', > '/opt/apache-cassandra-3.10/bin/../lib/cassandra-driver-internal-only-3.7.0.post0-2481531.zip/cassandra-driver-3.7.0.post0-2481531', > '/opt/apache-cassandra-3.10/bin', '/usr/local/lib/python27.zip', > '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', > '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', > '/usr/local/lib/python2.7/lib-dynload', > '/usr/local/lib/python2.7/site-packages'] > Error: can't decompress data; zlib not available > > Have to do some workaround like this to get it working. > ./configure --with-zlib --with-ssl > sudo apt-get install libssl-dev > sudo apt-get install zlib1g-dev > > I feel there is an issue with default installation of Cassandra > integration with python. > > Regards > Karthik > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org For additional commands, e-mail: user-help@cassandra.apache.org