欢迎投稿

今日深度:

启动cqlsh报错:No appropriate python interpreter found.,cqlshinterpreter

启动cqlsh报错:No appropriate python interpreter found.,cqlshinterpreter


Cassandra启动cqlsh报错:No appropriate python interpreter found.

python -V

可以显示python版本3.6.1

官网关于cqlsh的翻译如下:

切记不要安装3X的,(cassandra 目录下cqlsh用的是2X的语法,安装3X无法执行)

即:安装Cassandra需要先安装Python,对于Python的版本有特殊的要求,不支持3.x版本,只支持2.x版本

解决办法:

python3.6降级2.7,有些同学是需要python2.6升级2.7,具体方法可搜索相关文档或参考:

https://blog.csdn.net/weixin_42240930/article/details/81187799

进行降级操作(需额外安装pip)

www.htsjk.Com true http://www.htsjk.com/cassandra/31363.html NewsArticle 启动cqlsh报错:No appropriate python interpreter found.,cqlshinterpreter Cassandra启动cqlsh报错:No appropriate python interpreter found. python -V 可以显示python版本3.6.1 官网关于cqlsh的翻译如下: 切记不要安装...
相关文章
    暂无相关文章
评论暂时关闭