Problem installing Riak Python client

Nate Lawson nate at
Thu Nov 10 11:51:09 EST 2011

On Nov 10, 2011, at 8:25 AM, Nitish Sharma wrote:
> I am trying to install Riak's python client library using Pip. But it throws an IOError while installing: IOError: [Errno 2] No such file or directory: 'protobuf/'. Apparently, a lot of guys are facing the same problem. The problem is that the latest version of Protobuf (2.4.1) has moved from / to /python/
> There is already an issue raised for Riak:
> Any suggestions how to specify correct path of to Pip?

Easiest route is to install protobuf-2.3.0 from Riak's page using easy_install. Pip can't install .eggs.

Or, you can hack around in Google's 2.4.1 to get all the setup paths right.

BTW, are there any plans for the Riak python client to use the protobuf C library directly via ctypes? The pure python implementation of protobuf seems a little slow.


More information about the riak-users mailing list