Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104486 > unrolled thread

Re: pip install failure for cryptography, gnureadline

Started bydieter <dieter@handshake.de>
First post2016-03-10 09:21 +0100
Last post2016-03-10 09:21 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: pip install failure for cryptography, gnureadline dieter <dieter@handshake.de> - 2016-03-10 09:21 +0100

#104486 — Re: pip install failure for cryptography, gnureadline

Fromdieter <dieter@handshake.de>
Date2016-03-10 09:21 +0100
SubjectRe: pip install failure for cryptography, gnureadline
Message-ID<mailman.114.1457598108.15725.python-list@python.org>
Pietro Paolini <pietro.paolini@ocado.com> writes:
> ...
> I am not really familiar with the Py subsystem, even though I have got some
> guidance from some colleague, I am getting stuck when installing a list of
> packages contained in a file, running such command :
>
>
> pip install -r /home/pietro/projects/cloud-provisioning/requirements.txt
>
> Brings me :
>
>
> Collecting docutils>=0.10 (from botocore<1.4.0,>=1.3.0->boto3==1.2.3->-r
> /home/pietro/projects/cloud-provisioning/requirements.txt (line 9))
> Building wheels for collected packages: cryptography, gnureadline
>   Running setup.py bdist_wheel for cryptography: started
>   Running setup.py bdist_wheel for cryptography: finished with status
> 'error'
>   Complete output from command
> ....
> src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c:1944:15:
> error: ‘SSLv3_method’ redeclared as different kind of symbol
>    SSL_METHOD* (*SSLv3_method)(void) = NULL;
>                  ^
>   In file included from
> src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c:294:0:
>   /usr/include/openssl/ssl.h:1892:19: note: previous declaration of
> ‘SSLv3_method’ was here
>    const SSL_METHOD *SSLv3_method(void);  /* SSLv3 */
>                      ^

This indicates that the "cryptography" version does not fit
with your "openssl" version: "openssl" defines "SSLv3_method"
as a function returning a constant pointer to an "SSL_METHOD",
while "cryptography" defines it as a pointer to such a function.

I would contact the "cryptography" author.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web