cqlsh :: ImportError: cannot import name cql_keywords_reserved
<p>Recently, I have installed <code>Cassandra. 3.6</code>
After installation,  I got an error.</p>

<pre><code>Connection error: ('Unable to connect to any servers', {'127.0.0.1': TypeError('ref() does not take keyword arguments',)})
</code></pre>

<p>To solve this, I have followed </p>

<pre><code>pip install cassandra-driver==2.7.2
pip install cassandra-driver
export CQLSH_NO_BUNDLED=true
</code></pre>

<p>And my python version is <code>2.7</code></p>

<p>right Now, when I run <code>cqlsh</code>, I'm getting following error</p>

<pre><code>Traceback (most recent call last):
  File "/usr/bin/cqlsh.py", line 167, in &lt;module&gt;
    from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling
  File "/usr/lib/python2.7/dist-packages/cqlshlib/cql3handling.py", line 17, in &lt;module&gt;
    from .cqlhandling import CqlParsingRuleSet, Hint
  File "/usr/lib/python2.7/dist-packages/cqlshlib/cqlhandling.py", line 21, in &lt;module&gt;
    from cassandra.metadata import cql_keywords_reserved
ImportError: cannot import name cql_keywords_reserved
</code></pre>

<p>How can I solve this error? How can I run cassandra withour errors?</p>