Rag*_*amy 6 cassandra python-3.x cqlsh
我已经使用Cassandra 3.11.3安装了Python 3.6 或 3.7。
但是不支持,只支持Python 2.7版本。
这是错误消息:cqlsh
\apache-cassandra-3.11.3\bin\\cqlsh.py", line 146
except ImportError, e:
^
SyntaxError: invalid syntax
Run Code Online (Sandbox Code Playgroud)
可能是什么问题?
改变
except a, b:
Run Code Online (Sandbox Code Playgroud)
到
except a as b:
Run Code Online (Sandbox Code Playgroud)
为打印添加括号