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


Groups > comp.lang.python > #104486

Re: pip install failure for cryptography, gnureadline

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From dieter <dieter@handshake.de>
Newsgroups comp.lang.python
Subject Re: pip install failure for cryptography, gnureadline
Date Thu, 10 Mar 2016 09:21:37 +0100
Lines 38
Message-ID <mailman.114.1457598108.15725.python-list@python.org> (permalink)
References <CAH3ghadx9TMKvSusW08VgJxdTdQ3D+F44DQcUZDe0WEZnb5pbQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-7
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de +e7BUW1m9zS3+WMMaGN89gcIld6Yre2s+B9w+YVtTKCQ==
Cancel-Lock sha1:hQryMeZJR1y1jpSey2CisIu3ONA=
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'defines': 0.07; 'setup.py': 0.07; 'indicates': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'output': 0.13; 'charset:iso-8859-7': 0.15; 'file,': 0.15; '(line': 0.16; 'declaration': 0.16; 'packages:': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'skip:/ 50': 0.16; 'sslv3': 0.16; 'subject:install': 0.16; 'pointer': 0.18; 'constant': 0.22; 'null;': 0.22; 'fit': 0.23; 'finished': 0.23; 'skip:b 30': 0.24; 'install': 0.25; 'header:User-Agent:1': 0.26; 'command': 0.26; 'header:X-Complaints-To:1': 0.26; 'collecting': 0.27; 'function': 0.28; 'skip:( 20': 0.28; 'included': 0.32; 'getting': 0.33; 'symbol': 0.33; 'version:': 0.33; 'file': 0.34; 'previous': 0.34; 'running': 0.34; 'list': 0.34; 'installing': 0.35; 'returning': 0.35; 'skip:* 20': 0.35; 'guidance': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:org': 0.37; 'version': 0.38; 'building': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'some': 0.40; 'your': 0.60; 'different': 0.63; 'complete': 0.63; 'contact': 0.66; 'here': 0.66; 'note:': 0.66; 'pip': 0.84; 'skip:/ 30': 0.84; 'wheels': 0.84; 'colleague,': 0.91
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host p57b38185.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104486

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web