Cassandra auto-complete does not work
<p>I have a problem with the auto-complete within Cassandra 3.9 client "cqlsh", I don't know why? I did an update my brew command on MacOS Sierra. I suppose this problem is for a python update, but how it's related?</p>

<p>I tried to execute the tests:</p>

<pre><code>$ cd apache-cassandra-3.9/pylib/cqlshlib/test
$ python test_cqlsh_completion.py
</code></pre>

<p>but I got this error:</p>

<pre><code>Traceback (most recent call last):
  File "test_cqlsh_completion.py", line 23, in &lt;module&gt;
    from .basecase import BaseTestCase, cqlsh
ValueError: Attempted relative import in non-package
</code></pre>

<p>Someone know any solution?</p>

<p>If I list the directory it shows:</p>

<pre><code>$ ls apache-cassandra-3.9/pylib/cqlshlib/test

__init__.py              basecase.py              
run_cqlsh.py             test_cqlsh_commands.py   
test_cqlsh_invocation.py test_cqlsh_parsing.py    
winpty.py                ansi_colors.py           
cassconnect.py           test_cql_parsing.py      
test_cqlsh_completion.py test_cqlsh_output.py     
test_keyspace_init.cql
</code></pre>

<p>you don't have <code>__init__.py</code> in your package folder</p>

java python cassandra cqlsh