cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Shuler <mich...@pbandjelly.org>
Subject Re: Issue with cassandra 3.1X and Python 2.7.13 in Debian 8.8
Date Tue, 01 Aug 2017 17:01:31 GMT
/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


Mime
View raw message