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>=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 /home/pietro/python-environment/cloud-provisioning-ve-2/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-pzgHry/cryptography/setup.py';exec(compile(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.txt 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_590da19fxffc7b1ce.c -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/__pycache__ copying src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_8f86901cxc1767c5a.c -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/__pycache__ copying src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.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=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c -o build/temp.linux-x86_64-2.7/src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.o 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 */ ^ src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c:1945:15: error: ‘SSLv3_client_method’ redeclared as different kind of symbol SSL_METHOD* (*SSLv3_client_method)(void) = NULL; ^ In file included from src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c:294:0: /usr/include/openssl/ssl.h:1894:19: note: previous declaration of ‘SSLv3_client_method’ was here const SSL_METHOD *SSLv3_client_method(void); /* SSLv3 */ ^ src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c:1946:15: error: ‘SSLv3_server_method’ redeclared as different kind of symbol SSL_METHOD* (*SSLv3_server_method)(void) = NULL; ^ In file included from src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d5a71fe5xf53f5318.c:294:0: /usr/include/openssl/ssl.h:1893:19: note: previous declaration of ‘SSLv3_server_method’ 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 ? -- Notice: This email is confidential and may contain copyright material of members of the Ocado Group. Opinions and views expressed in this message may not necessarily reflect the opinions and views of the members of the Ocado Group. If you are not the intended recipient, please notify us immediately and delete all copies of this message. Please note that it is your responsibility to scan this message for viruses. Fetch and Sizzle are trading names of Speciality Stores Limited, a member of the Ocado Group. References to the “Ocado Group” are to Ocado Group plc (registered in England and Wales with number 7098618) and its subsidiary undertakings (as that expression is defined in the Companies Act 2006) from time to time. The registered office of Ocado Group plc is Titan Court, 3 Bishops Square, Hatfield Business Park, Hatfield, Herts. AL10 9NE. -- https://mail.python.org/mailman/listinfo/python-list