Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-6425

cqlsh cannot found cql driver when invoked through link

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.4
    • Legacy/Tools
    • None
    • Linux (ubuntu 12.04)

    Description

      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

      Attachments

        Activity

          People

            yinyin Yinyin L
            yinyin Yinyin L
            Yinyin L
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: