The following warning appears every time I start cqlsh:
WARNING: pyreadline dependency missing. Install to enable tab completion.
How do I fix this?
Install pyreadline for DataStax Cassandra
Set PATH variable for Python to
C:\Program Files\DataStax Community\python
1. Download pyreadline: https://github.com/pyreadline/pyreadline
2. Click on "ZIP" to download a zip file of PyReadline repository
3. Extract to C:\pyreadline
4. At the command prompt: navigate to C:\pyreadline
5. Run this: C:\pyreadline\python setup.py install
This will update the Python distribution bundled with Datastax Community Edition.
What version are you running, it looks like this has been fixed in a fairly low version.
https://issues.apache.org/jira/browse/CASSANDRA-7749
I would guess that most likely you are running on windows in which case just follow this here: ipython on Windows 7 can't find pyreadline
If this is not the case simply go to https://pypi.python.org/pypi/pyreadline/ and follow install instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With