Warning on starting cqlsh

2019-05-06 21:34发布

The following warning appears every time I start cqlsh:- warning: pyreadline dependency missing. Install to enable tab completion. Please help me through this..

2条回答
疯言疯语
2楼-- · 2019-05-06 22:09

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.

查看更多
Bombasti
3楼-- · 2019-05-06 22:22

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.

查看更多
登录 后发表回答