I am using a widows virtual desktop as my developer machine. I had been using datastax-studio
to access a common-dataStax-cassandra-cluster
installed on remote server machines.
Apparently, not all CQL commands are supported by datastax-studio
, for example COPY
, LOAD
commands etc. So I tried to install CQLSH utility
on my developer machine.
Seems Cqlsh
is meant to be used only on Linux-based platforms
having python.
So I tried to use it within git-bash
on my windows machine. First I unzipped the gzip file using git-bash
and then got python
installed on my machine.
Now when I run the xxxx/cqlsh-6.8.31/bin/cqlsh.sh
or xxxx/cqlsh-6.8.31/bin/cqlsh.py
, I get below error.
Disclaimer- I have never worked on python.
$ ./cqlsh
Traceback (most recent call last):
File "C:\projects\apps\CASSANDRA\cqlsh-6.8.31\bin\dsecqlsh.py", line 95, in <module>
import cqlsh # nopep8
File "C:\projects\apps\CASSANDRA\cqlsh-6.8.31\bin\cqlsh.py", line 151, in <module>
import six
ModuleNotFoundError: No module named 'six'
Question is
- Is it even possible to run Cqlsh on a widows machine not having a complete cassandra installation ?
- If answer to above is yes, then how to set it up ?