Hi,
I'm trying to use riak with python.
I've installed the client (from github).
riak (1.2.0 2012-08-06) Debian x86_64
When I try to connect I got error:
AttributeError: 'module' object has no attribute 'RiakClient'
The code :
import riak
import uuid
import time
client = riak.RiakClient()
user_bucket = client.bucket('user')
new_user = user_bucket.new('johndoe', data={
'first_name': 'John',
'last_name': 'Doe',
'gender': 'm',
'website': 'http://example.com/',
'is_active': True,
})
new_user.store()
I've already installed:
protobuf==2.4.1
Python 2.7.4rc1
Thanks...
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com