在Windows上安装cassandra(DataStax社区版)时启用SSL时出错
我的系统:Windows 7 64位。在安装cassandra的Datasax社区版时 如此处先决条件中所述: 我尝试使用这里给出的说明启用SSL 但下面是我得到的错误在Windows上安装cassandra(DataStax社区版)时启用SSL时出错,ssl,openssl,cassandra,datastax-enterprise,Ssl,Openssl,Cassandra,Datastax Enterprise,我的系统:Windows 7 64位。在安装cassandra的Datasax社区版时 如此处先决条件中所述: 我尝试使用这里给出的说明启用SSL 但下面是我得到的错误 C:\>python "C:\Program Files\DataStax Community\opscenter\bin\setup.py" File "C:\Program Files\DataStax Community\opscenter\bin\setup.py", line 51 print "
C:\>python "C:\Program Files\DataStax Community\opscenter\bin\setup.py"
File "C:\Program Files\DataStax Community\opscenter\bin\setup.py", line 51
print "Error when creating opscenter SSL files. Error was:\n"
^
SyntaxError: invalid syntax
这里出了什么问题?您安装了什么版本的openssl?该错误表示openssl命令抱怨语法错误。OpsCenter特别需要windows上的openssl 0.9.8
编辑文件创建文件对.bat并将变量OPENSSL_EXE设置为OPENSSL的安装路径。@Yvette:但在下载Cassandra的Datastax社区版后,我没有做任何更改。…@Yvette:我已经尝试过两次了。同样的问题还在继续发生。您使用的是python 3吗?