这是我第一次使用Cassandra,当我尝试运行“CQLSH”命令时,我得到如下错误。
C:\Users\RanggaSaputra>cqlsh File "C:\apache-cassandra-3.11.14\bin\cqlsh.py", line 146 except ImportError, e: ^^^^^^^^^^^^^^
我的设备是windows 11我尝试按照YouTube的建议将start_rpc和enable_user变量更改为true。
mm5n2pyu1#
What version of python do you use? I believe you'll want version 2.7 for Cassandra 3.11 as specified here: https://cassandra.apache.org/doc/3.11/cassandra/getting_started/installing.html Not having the proper version is likely the issue.
1条答案
按热度按时间mm5n2pyu1#
What version of python do you use? I believe you'll want version 2.7 for Cassandra 3.11 as specified here: https://cassandra.apache.org/doc/3.11/cassandra/getting_started/installing.html Not having the proper version is likely the issue.