root@data-i-33b65ce9 [gz-dev3] ~ # /usr/local/bin/cqlsh --cqlversion 3.3.1 -u cassandra -p cassandra gz-dev3.cassandra-main.service.consul
Connected to Test Cluster at gz-dev3.cassandra-main.service.consul:9042.
[cqlsh 5.0.1 | Cassandra 2.2.3 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cassandra@cqlsh>root@data-i-0e9144d4 [gz-dev1] ~ # /usr/local/bin/cqlsh --cqlversion 3.3.1 -u cassandra -p cassandra
Traceback (most recent call last):
File "/usr/local/bin/cqlsh", line 111, in <module>
from cassandra.cluster import Cluster, PagedResult
ImportError: cannot import name PagedResultroot@data-i-0e9144d4 [gz-dev1] ~ # python --version
Python 2.7.6--
You received this message because you are subscribed to the Google Groups "DataStax Python Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-driver-u...@lists.datastax.com.
lib/cassandra-driver-internal-only*zip
Thanks for the help!Any idea where to find that internal only zip please ?
--
Getting closer.Only last missing piece is where the cqlsh version comes from (ie "5.0.1"), if anyone know?
--
root@data-i-0e9144d4 [gz-dev1] ~ # pip install -I --upgrade --force-reinstall 'git+https://github.com/scalp42/cqlsh@3'
Collecting git+https://github.com/scalp42/cqlsh@3
Cloning https://github.com/scalp42/cqlsh (to 3) to /tmp/pip-jJF35P-build
Collecting cql (from cqlsh==3)
Collecting simplejson (from cqlsh==3)
Collecting unittest2 (from cqlsh==3)
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting cassandra-driver>=3 (from cqlsh==3)
Collecting thrift (from cql->cqlsh==3)
Collecting argparse (from unittest2->cqlsh==3)
Using cached argparse-1.4.0-py2.py3-none-any.whl
Collecting traceback2 (from unittest2->cqlsh==3)
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting six>=1.4 (from unittest2->cqlsh==3)
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting futures (from cassandra-driver>=3->cqlsh==3)
Using cached futures-3.0.3-py2-none-any.whl
Collecting linecache2 (from traceback2->unittest2->cqlsh==3)
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Installing collected packages: thrift, cql, simplejson, argparse, linecache2, traceback2, six, unittest2, futures, cassandra-driver, cqlsh
Running setup.py install for cqlsh
Successfully installed argparse-1.4.0 cassandra-driver-3.0.0 cql-1.4.0 cqlsh-3 futures-3.0.3 linecache2-1.0.0 simplejson-3.8.1 six-1.10.0 thrift-0.9.3 traceback2-1.4.0 unittest2-1.1.0
Segmentation fault (core dumped)