OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

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

  • Thread starter Thread starter Senthil Nayagan
  • Start date Start date
S

Senthil Nayagan

Guest
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)

Code:
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!
<p>Cassandra's <code>cqlsh</code> is not running. When I am running <code>cqlsh</code>, 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 <code>./bin/cassandra</code> command.</p>
<p>My Cassandra version: 4.1.3
My OS: macOS Sonoma (Silicon)</p>
<pre><code>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'
</code></pre>
<p>Also, I tried running <code>cqlsh</code> 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!</p>
 
Top