You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yinyin L (JIRA)" <ji...@apache.org> on 2013/12/01 04:18:35 UTC

[jira] [Updated] (CASSANDRA-6425) cqlsh cannot found cql driver when invoked through link

     [ https://issues.apache.org/jira/browse/CASSANDRA-6425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yinyin L updated CASSANDRA-6425:
--------------------------------

    Attachment: CASSANDRA-6425_cqlsh.diff

Here is the patch I created to resolve this problem

> cqlsh cannot found cql driver when invoked through link
> -------------------------------------------------------
>
>                 Key: CASSANDRA-6425
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6425
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Linux (ubuntu 12.04)
>            Reporter: Yinyin L
>             Fix For: 2.0.3
>
>         Attachments: CASSANDRA-6425_cqlsh.diff
>
>
> I have Cassandra installed in /opt/apache-cassandra-2.0.3 and have bin/cqlsh linked to ~/bin for easy access. However the following error message shows up on invoking through the linked (ie: ~/bin/cqlsh):
> $ cqlsh 
> Python CQL driver not installed, or not on PYTHONPATH.
> You might try "easy_install cql".
> Python: /usr/bin/python
> Module load path: ['/opt/apache-cassandra-2.0.3/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
> Error: No module named cql



--
This message was sent by Atlassian JIRA
(v6.1#6144)