Path: csiph.com!news.mixmin.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Pietro Paolini Newsgroups: comp.lang.python Subject: pip install failure for cryptography, gnureadline Date: Wed, 9 Mar 2016 17:55:20 +0000 Lines: 199 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de Z+Q4weIYWjiiqx9tSnx5CgC0XuC9ietKR3PmOwwHU/hA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'error:': 0.05; 'everybody,': 0.07; 'exit': 0.07; 'setup.py': 0.07; '__file__,': 0.09; 'fetch': 0.09; 'skip:b 110': 0.09; 'skip:b 70': 0.09; 'template': 0.11; 'output': 0.13; 'file,': 0.15; "skip:' 30": 0.15; "'*'": 0.16; '(line': 0.16; '->': 0.16; '-o2': 0.16; '-wall': 0.16; 'build_ext': 0.16; 'build_py': 0.16; 'declaration': 0.16; 'manifest': 0.16; 'packages:': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'setuptools,': 0.16; 'skip:/ 50': 0.16; 'skip:t 90': 0.16; 'sslv3': 0.16; 'subject:install': 0.16; 'extension': 0.20; 'fix': 0.21; 'null;': 0.22; 'defined': 0.23; 'finished': 0.23; 'matching': 0.23; 'references': 0.23; 'skip:b 30': 0.24; 'install': 0.25; 'command': 0.26; 'linux': 0.26; 'points': 0.27; 'message-id:@mail.gmail.com': 0.27; 'collecting': 0.27; 'reflect': 0.27; 'idea': 0.28; "skip:' 10": 0.28; 'skip:( 20': 0.28; 'looks': 0.29; 'skip:b 40': 0.29; 'creating': 0.30; 'park,': 0.30; 'entry': 0.31; 'skip:s 30': 0.31; "can't": 0.32; 'included': 0.32; 'getting': 0.33; 'problem': 0.33; 'message.': 0.33; 'skip:/ 20': 0.33; 'skip:b 60': 0.33; 'symbol': 0.33; 'viruses.': 0.33; 'wales': 0.33; 'skip:- 10': 0.34; "skip:' 20": 0.34; 'file': 0.34; 'previous': 0.34; 'running': 0.34; 'list': 0.34; 'requirements': 0.35; 'received:google.com': 0.35; 'installing': 0.35; 'skip:* 20': 0.35; 'skip:b 50': 0.35; 'received:209.85': 0.36; 'guidance': 0.36; 'to:addr:python-list': 0.36; 'really': 0.37; 'skip:& 10': 0.37; 'skip:s 50': 0.37; 'received:209': 0.38; 'delete': 0.38; 'names': 0.38; 'skip:s 40': 0.38; 'building': 0.38; 'files': 0.38; 'copying': 0.38; 'mean': 0.38; 'why': 0.39; 'skip:- 20': 0.39; 'material': 0.39; 'does': 0.39; 'expressed': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'office': 0.62; 'different': 0.63; 'necessarily': 0.63; 'complete': 0.63; 'companies': 0.63; 'packages,': 0.66; '\xc2\xa0\xc2\xa0': 0.66; 'here': 0.66; 'note:': 0.66; 'act': 0.67; 'notice:': 0.69; 'business': 0.69; '8bit%:100': 0.70; 'skip:\xe2 10': 0.70; 'opinions': 0.71; 'plc': 0.76; '8bit%:24': 0.84; 'confusing': 0.84; 'court,': 0.84; 'pip': 0.84; 'skip:/ 30': 0.84; 'skip:s 80': 0.84; 'square,': 0.84; 'wheels': 0.84; '8bit%:33': 0.91; 'colleague,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ocado-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=o2ZHPQeGCTcMru7WessIpkHMCK9ZkNxIzrApOSkqHFw=; b=Ql2sxifcbcO1evtifmTAfQWrScd0HtEaALmbwejE+hwwDF+3ko75mJ2BnTxvDEaLmh QEa2D7kM+mOu4a4OpaN2ZrQMWVzo4uu4ZpBCsPmZddhR/0mB/5a8y7M4n08wp0GPrjjd VByBvPRYlwUJ+M4PMG4IFsCbjq+XS+pr1RP6Mh7Bi70a3wS5YNfMXMuwORtlcQeDJ/qO 5DJjMvVsWEtO8OgcGP/DtV4+cR6ttwb45Zz7UHnpjnnuOE9SEYGXDEwZSWkWpGvIqHbE L5YVsNXLrUxTMHm/lme+QSoCPOz/ppzxwOj2gMw9JnzK+z5rZG6AmOr4lMS7pjbL4NqP Z/1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=o2ZHPQeGCTcMru7WessIpkHMCK9ZkNxIzrApOSkqHFw=; b=E+CqyzrJdU6W4gsg49Fr6ILJgxltpvwcMfxJEYDSekuS27xatjzNDGZnpPiQ38iOak 4ktJ7i3dugOhw5Rckl8ZcGT+kTEgwXERtcKGXK7axG0CCmRT7glA4bjb6d2G8oP5tMKj MAqdXWokX8LyJeXVoOP9MMGFTDM4xMIUJUVElzHrY5wP2JQT2SmDw84NRG+oIPl7UOvy n8lwXY7R9UJOmQZYnBZ8siGI1Nl06w5McwMLO7REmqsOoNfwdnDGyWlLbsRODv5X5Cdz 6sTFk1bCuVCHcKAKs3CP7wViseFvzUvTaYsbPCvx/ACJsyBnrzELVLiJ8qC2EjSPNb/d g63A== X-Gm-Message-State: AD7BkJL87uMlvYhq521ERuFKgeZn/WoPD+KQ79MxWBH7zXTVqHOu0KKlhOxEcKQrOBssrzVDTM1bVjEILW1gXHRLTw/mQ+DNZ4xTsw16sOJ4AXv48gEEnNpNtdn2ZnmAcW1t59jXc8CzVKhwNaA= X-Received: by 10.25.87.149 with SMTP id l143mr12457129lfb.145.1457546120844; Wed, 09 Mar 2016 09:55:20 -0800 (PST) X-Mailman-Approved-At: Wed, 09 Mar 2016 13:40:14 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104442 Hi everybody, 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>=3D0.10 (from botocore<1.4.0,>=3D1.3.0->boto3=3D=3D1.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 /home/pietro/python-environment/cloud-provisioning-ve-2/bin/python -u -c "import setuptools, tokenize;__file__=3D'/tmp/pip-build-pzgHry/cryptography/setup.py';exec(comp= ile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpoDkrDHpip-wheel- --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/cryptography copying src/cryptography/__init__.py -> build/lib.linux-x86_64-2.7/cryptography copying src/cryptography/utils.py -> build/lib.linux-x86_64-2.7/cryptography copying src/cryptography/x509.py -> build/lib.linux-x86_64-2.7/cryptography copying src/cryptography/fernet.py -> build/lib.linux-x86_64-2.7/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-2.7/cryptography copying src/cryptography/__about__.py -> build/lib.linux-x86_64-2.7/cryptography creating build/lib.linux-x86_64-2.7/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives ography/hazmat/backends/commoncrypto copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto running egg_info writing requirements to src/cryptography.egg-info/requires.txt writing src/cryptography.egg-info/PKG-INFO writing top-level names to src/cryptography.egg-info/top_level.txt writing dependency_links to src/cryptography.egg-info/dependency_links.tx= t writing entry points to src/cryptography.egg-info/entry_points.txt warning: manifest_maker: standard file '-c' not found [........] reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory 'vectors' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/src copying src/cryptography/hazmat/primitives/src/constant_time.c -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/src copying src/cryptography/hazmat/primitives/src/constant_time.h -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/src creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/__pycache__ copying src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_590da19fxff= c7b1ce.c -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/__pycache__ copying src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_8f86901cxc1= 767c5a.c -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/__pycache__ copying src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/__pycache__ running build_ext building '_Cryptography_cffi_d5a71fe5xf53f5318' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/src/cryptography creating build/temp.linux-x86_64-2.7/src/cryptography/hazmat creating build/temp.linux-x86_64-2.7/src/cryptography/hazmat/bindings creating build/temp.linux-x86_64-2.7/src/cryptography/hazmat/bindings/__pycache__ x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=3D2 -g -fstack-protector-strong -Wformat -Werror=3Dformat-security -fPIC -I/usr/include/python2.7 -c src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c -o build/temp.linux-x86_64-2.7/src/cryptography/hazmat/bindings/__pycache__/_C= ryptography_cffi_d5a71fe5xf53f5318.o src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c:1944:15: error: =E2=80=98SSLv3_method=E2=80=99 redeclared as different kind of symbo= l SSL_METHOD* (*SSLv3_method)(void) =3D NULL; ^ In file included from src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c:294:0: /usr/include/openssl/ssl.h:1892:19: note: previous declaration of =E2=80=98SSLv3_method=E2=80=99 was here const SSL_METHOD *SSLv3_method(void); /* SSLv3 */ ^ src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c:1945:15: error: =E2=80=98SSLv3_client_method=E2=80=99 redeclared as different kind o= f symbol SSL_METHOD* (*SSLv3_client_method)(void) =3D NULL; ^ In file included from src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c:294:0: /usr/include/openssl/ssl.h:1894:19: note: previous declaration of =E2=80=98SSLv3_client_method=E2=80=99 was here const SSL_METHOD *SSLv3_client_method(void); /* SSLv3 */ ^ src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c:1946:15: error: =E2=80=98SSLv3_server_method=E2=80=99 redeclared as different kind o= f symbol SSL_METHOD* (*SSLv3_server_method)(void) =3D NULL; ^ In file included from src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf5= 3f5318.c:294:0: /usr/include/openssl/ssl.h:1893:19: note: previous declaration of =E2=80=98SSLv3_server_method=E2=80=99 was here const SSL_METHOD *SSLv3_server_method(void); /* SSLv3 */ ^ error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 It looks pretty confusing to me since I can't fix it just installing some packages, have you any idea about why is this happening ? I am running on a Debian linux distro. I do not have any problem to manually install "pip install cryptography" which works fine. What does "Building wheels for collected packages: cryptography, gnureadline" mean ? --=20 Notice: This email is confidential and may contain copyright material of= =20 members of the Ocado Group. Opinions and views expressed in this message=20 may not necessarily reflect the opinions and views of the members of the=20 Ocado Group.=20 =20 If you are not the intended recipient, please notify us immediately and=20 delete all copies of this message. Please note that it is your=20 responsibility to scan this message for viruses.=20 =20 Fetch and Sizzle are trading names of Speciality Stores Limited, a member= =20 of the Ocado Group. =20 References to the =E2=80=9COcado Group=E2=80=9D are to Ocado Group plc (reg= istered in=20 England and Wales with number 7098618) and its subsidiary undertakings (as= =20 that expression is defined in the Companies Act 2006) from time to time. = =20 The registered office of Ocado Group plc is Titan Court, 3 Bishops Square,= =20 Hatfield Business Park, Hatfield, Herts. AL10 9NE.