Created
November 13, 2015 17:59
-
-
Save tlasica/4d80786ce8e747191152 to your computer and use it in GitHub Desktop.
Install cassandra-driver 3.0.0 rc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DRIVER_FILE=3.0.0rc1.tar.gz | |
export DRIVER_DIR=python-driver-3.0.0rc1 | |
sudo pip uninstall cassandra-driver -y | |
wget https://github.com/datastax/python-driver/archive/$DRIVER_FILE | |
tar xzf $DRIVER_FILE | |
cd $DRIVER_DIR | |
sudo python setup.py install --no-extensions | |
Can also be shortened to sudo pip install --pre --install-option="--no-extensions" cassandra-driver
and the full ctool command:
ctool run $cluster_name all "sudo pip uninstall cassandra-driver -y; sudo pip install --pre --install-option="--no-extensions" cassandra-driver"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And here as a one liner ctool command: