incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <eev...@rackspace.com>
Subject Re: Problem with cassdict import
Date Mon, 23 Nov 2009 15:55:31 GMT
On Sat, 2009-11-21 at 12:20 -0600, Saran wrote:
> In [2]: from cassdict.cass import *
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call
> last)
> 
> /home/sridhar/Desktop/cassdict/<ipython console> in <module>()
> 
> /home/sridhar/Desktop/cassdict/cassdict/cass.py in <module>()
>      13 import pdb
>      14
> ---> 15 from cassandra.ttypes import Column, SuperColumn,
> ColumnOrSuperColumn, \
>      16     SlicePredicate, SliceRange, ConsistencyLevel, ColumnPath,
> ColumnParent
>      17
> 
> ImportError: cannot import name ColumnOrSuperColum 

I've never used cassdict, but this looks to me like you either haven't
generated the thrift code for cassandra, or it is not in your
PYTHONPATH.

-- 
Eric Evans
eevans@rackspace.com


Mime
View raw message