每次我启动cqlsh时都会出现以下警告:
如何解决这个问题?警告:缺少pyreadline依赖项。安装以启用制表符完成。
为DataStax Cassandra安装pyreadline
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
这将更新与Datastax社区版捆绑的Python发行版。
https://issues.apache.org/jira/browse/CASSANDRA-7749
我猜你大概是在Windows上运行,那么只需按照这里的步骤操作:ipython on Windows 7 can't find pyreadline 如果不是这种情况,请前往https://pypi.python.org/pypi/pyreadline/并按照安装说明进行安装。