cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K Natarajan, Karthik (Nokia - IN/Bangalore)" <>
Subject Issue with cassandra 3.1X and Python 2.7.13 in Debian 8.8
Date Tue, 01 Aug 2017 06:05:31 GMT
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/',
'/opt/apache-cassandra-3.10/bin/../lib/', '/opt/apache-cassandra-3.10/bin/../lib/',
'/opt/apache-cassandra-3.10/bin', '/usr/local/lib/', '/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.


View raw message