Python client error

Alex De la rosa alex.rosa.box at gmail.com
Fri Aug 15 12:01:26 EDT 2014


Thanks for your reply, I already fixed it deleting everything and using
"pip install riak" instead.

Thanks!
Alex


On Fri, Aug 15, 2014 at 5:59 PM, tele <tele at rhizomatica.org> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140815/cc14fe1e/attachment.html>


More information about the riak-users mailing list