Problem : CQLSH never works after a usual install.
Fix:
Install as below (on terminal)-
- Make sure to use pip, not pip3; python 2.7 not python 3.x.
- pip install cqlsh
- pip install cassandra-driver
- export CQLSH_NO_BUNDLED=true
- echo ‘export CQLSH_NO_BUNDLED=true’ >> ~/.bashrc
- cqlsh –cqlversion=3.4.4
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.