Skip to content
Advertisement

CQLSH client – module’ object has no attribute ‘parse_options

I’m trying to access my Cassandra server through a CQLSH client to import a huge CSV file. I’m getting a module' object has no attribute 'parse_options error.

I run the follow command:

JavaScript

This is the debug and error message that follows:

JavaScript

Advertisement

Answer

Has the same issue when I use cqlsh from pip install cqlsh. Try just use cassandra’s tool cqlsh

sudo docker run -it cassandra /usr/bin/cqlsh

Refer to jira

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement