2017-02-26 7 views
1

Ich kann Cassandra 3 ohne irgendein Problem starten, aber das cqlsh Skript startet nicht. Ich benutze CentOS 6 und Python ist 2.7 installiert. Hier ist die Fehlermeldung:CQL Login Fehler in Cassandra

[[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 

Bitte helfen.

Bezug Sajith

Antwort

1

Der Fehler, die Sie erhalten haben, wird für fehlenden Python-Paket zusammen. Überprüfen Sie löst das unten gelöst Frage Ihre CQL Fehler:

How to import _ssl in python 2.7.6?

Verwandte Themen