[Python] Cassandra cqlsh not running - Getting ModuleNotFoundError: No module named 'six.moves'

Discussão em 'Python' iniciado por Stack, Março 25, 2025.

  1. Stack

    Stack Membro Participativo

    Cassandra's cqlsh is not running. When I am running cqlsh, I am getting the following error in the terminal. It was working before! It's weird that it was working till yesterday. Note that I'm able to start Cassandra server with ./bin/cassandra command.

    My Cassandra version: 4.1.3 My OS: macOS Sonoma (Silicon)

    Traceback (most recent call last):
    File "/Users/senthilnayagan/Developer/Infra/apache-cassandra-4.1.3/bin/cqlsh.py", line 134, in <module>
    from cassandra.cluster import Cluster
    File "/Users/senthilnayagan/Developer/Infra/apache-cassandra-4.1.3/bin/../lib/cassandra-driver-internal-only-3.25.0.zip/cassandra-driver-3.25.0/cassandra/cluster.py", line 33, in <module>
    ModuleNotFoundError: No module named 'six.moves'


    Also, I tried running cqlsh with multiple versions of Cassandra (4.1.3 and 4.1.4), but I'm still getting the same error below. Any help would be greatly appreciated!

    Continue reading...

Compartilhe esta Página