2017-02-26 73 views
1

我能夠毫無問題地啓動Cassandra 3,但cqlsh腳本未啓動。我使用的是CentOS 6,安裝的Python是2.7。這裏是錯誤信息:Cassandra中的CQL登錄錯誤

[[email protected] bin]$ cqlsh 
Traceback (most recent call last): 
    File "/opt/cassandra/bin/cqlsh.py", line 168, in <module> 
    from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling 
    File "/opt/cassandra/bin/../pylib/cqlshlib/sslhandling.py", line 20, in <module> 
    import ssl 
    File "/usr/local/lib/python2.7/ssl.py", line 60, in <module> 
    import _ssl    # if we can't import it, let the error propagate 
ImportError: No module named _ssl 

請幫忙。

認爲 Sajith

回答