Python client error

tele tele at rhizomatica.org
Fri Aug 15 11:59:21 EDT 2014


Hi Alex,

Try with: pip install cryptography

:tele


On Fri, 15 Aug 2014 17:29:29 +0200
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





More information about the riak-users mailing list