Python client error

Alex De la rosa alex.rosa.box at gmail.com
Fri Aug 15 11:53:15 EDT 2014


Fixed, instead of using "easy_install riak" I used "pip install riak" and
it worked like a charm :)

Thanks!
Alex


On Fri, Aug 15, 2014 at 5:29 PM, Alex De la rosa <alex.rosa.box at gmail.com>
wrote:

> Hi there,
>
> I installed riak-2.0rc1 and the Python client through "easy_intall riak",
> however, when importing the "riak" library I got the following error:
>
> Traceback (most recent call last):
>   File "x.py", line 1, in <module>
>     import riak
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/__init__.py",
> line 59, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/client/__init__.py",
> line 29, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/client/operations.py",
> line 19, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/client/transport.py",
> line 20, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/transports/pbc/__init__.py",
> line 25, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/transports/pbc/transport.py",
> line 27, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/transports/pbc/connection.py",
> line 22, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/riak-2.1.0rc1-py2.7.egg/riak/security.py",
> line 19, in <module>
>   File "build/bdist.linux-x86_64/egg/OpenSSL/__init__.py", line 8, in
> <module>
>   File "build/bdist.linux-x86_64/egg/OpenSSL/rand.py", line 11, in <module>
>   File "build/bdist.linux-x86_64/egg/OpenSSL/_util.py", line 3, in <module>
> ImportError: No module named cryptography.hazmat.bindings.openssl.binding
>
> I'm using "Python 2.7.6", any clues on how to fix this?
>
> Thanks!
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140815/5ffe265d/attachment.html>


More information about the riak-users mailing list