cassandra-user mailing list archives

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




Mime
View raw message