For those just starting out with Cassandra / Pycassa, you may have worked through this tutorial and you are stuck on the line
col_fam = pycassa.ColumnFamily(pool, 'Standard1')
with an error that looks like
pycassa.cassandra.ttypes.InvalidRequestException: InvalidRequestException(why='Keyspace Keyspace1 does not exist')
To solve this problem, run Cassandra
bin/cassandra -f
And then, in another terminal window, load the sample circuit with
bin/cassandra-cli -host localhost
Then you have to go through this line in the tutorial.
source share