[ https://issues.apache.org/jira/browse/CASSANDRA-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648258#comment-14648258 ]
Philip Thompson commented on CASSANDRA-9924: -------------------------------------------- Searching around, I've confirmed my suspicions that something is wrong with your system python. You do not appear to have ssl installed. The problem is not with cqlsh. See this StackOverflow for an idea of how to fix your issue: http://stackoverflow.com/questions/5128845/importerror-no-module-named-ssl > Error when invoking csqlsh > -------------------------- > > Key: CASSANDRA-9924 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9924 > Project: Cassandra > Issue Type: Bug > Reporter: philip > Labels: cqlsh > Fix For: 2.1.x > > > Getting Error as below. > {code} > bin]# ./cqlsh > Traceback (most recent call last): > File "./cqlsh", line 134, in <module> > from cqlshlib import cqlhandling, cql3handling, pylexotron, sslhandling > File > "/u01/cassandra/usr/share/dse/resources/cassandra/bin/../pylib/cqlshlib/sslhandling.py", > line 20, in <module> > import ssl > File "/usr/local/lib/python2.6/ssl.py", line 60, in <module> > import _ssl # if we can't import it, let the error propagate > ImportError: No module named _ssl > {code} > Our versions are as below. > cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.6 (Santiago) > bin]# python --version > Python 2.6.9 > Pls help us resolve this issue. > Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)