trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.65k stars 2.31k forks source link

CentOS 7 Deployment failure #883

Closed jpk32 closed 6 years ago

jpk32 commented 6 years ago

OS / Environment (where do you run Algo on)

Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Cloud Provider (where do you deploy Algo to)

None

Summary of the problem

While following the Algo installation instructions, the following error occur and stops the build process: botocore 1.10.5 has requirement python-dateutil<2.7.0,>=2.1, but you'll have python-dateutil 2.7.2 which is incompatible.

Steps to reproduce the behavior

*Note that I skipped the installation of python2.7, as CentOS 7 comes with 2.7 by default. All other python-2.7 modules were installed

yum -y -q install epel-release
yum -y install epel-release
yum -y -q install openssl-devel libffi-devel automake gcc gcc-c++ kernel-devel wget unzip ansible
pip -q install --upgrade pip
pip -q install pycrypto       
pip -q install setuptools --upgrade
pip -q install virtualenv
wget -q https://github.com/trailofbits/algo/archive/master.zip
unzip master.zip
cd algo-master || echo "No Algo directory found"
virtualenv env && source env/bin/activate
pip -q install -r requirements.txt

Full log


[root@localhost algo-master]# python -m virtualenv --python=`which python2` env && source env/bin/activate && python -m pip install -U pip && python -m pip install -r requirements.txt
Running virtualenv with interpreter /usr/bin/python2
New python executable in /root/algo-master/env/bin/python2
Also creating executable in /root/algo-master/env/bin/python
Installing setuptools, pip, wheel...done.
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages (10.0.1)
Requirement already satisfied: setuptools>=11.3 in ./env/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (39.0.1)
Collecting ansible[azure]==2.4.3 (from -r requirements.txt (line 2))
Collecting dopy==0.3.5 (from -r requirements.txt (line 3))
Collecting boto>=2.5 (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/bd/b7/a88a67002b1185ed9a8e8a6ef15266728c2361fcb4f1d02ea331e4c7741d/boto-2.48.0-py2.py3-none-any.whl
Collecting boto3 (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/99/49/20985d614dbf489ab0b381111593864b62a050f457dc44ba6301572debe9/boto3-1.7.5-py2.py3-none-any.whl
Collecting apache-libcloud (from -r requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/56/28/45a9d3bba612fc3f47ef085a14446a4f68f45ce10070562edff1e9291150/apache_libcloud-2.3.0-py2.py3-none-any.whl
Collecting six (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting pyopenssl (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/79/db/7c0cfe4aa8341a5fab4638952520d8db6ab85ff84505e12c00ea311c3516/pyOpenSSL-17.5.0-py2.py3-none-any.whl
Collecting jinja2==2.8 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/96/a1/c56bc4d99dc2663514a8481511e80eba8994133ae75eebdadfc91a5597d9/Jinja2-2.8-py2.py3-none-any.whl
Collecting shade (from -r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/4c/44/7c0b9b8c3b931e54dca5a05589c0de4350de1bac0a30d2b6a6620934759b/shade-1.27.1-py2-none-any.whl
Collecting pycrypto (from -r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz
Collecting cryptography (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/dd/c2/3a5bfefb25690725824ade71e6b65449f0a9f4b29702cce10560f786ebf6/cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting paramiko (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/3e/db/cb7b6656e0e7387637ce850689084dc0b94b44df31cc52e5fc5c2c4fd2c1/paramiko-2.4.1-py2.py3-none-any.whl
Collecting PyYAML (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
Collecting azure-mgmt-dns<2,>=1.0.1; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/29/e9/bff494c51298ebe8123aa0994e6cea47e110cb9542d9a8517dbb5bac8713/azure_mgmt_dns-1.2.0-py2.py3-none-any.whl
Collecting azure-mgmt-storage<2,>=1.5.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/c5/40/d8134d1ee9617fa8bd469e62f916349e1373b94e9f179d12050cfd051e20/azure_mgmt_storage-1.5.0-py2.py3-none-any.whl
Collecting packaging; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ad/c2/b500ea05d5f9f361a562f089fc91f77ed3b4783e13a08a3daf82069b1224/packaging-17.1-py2.py3-none-any.whl
Collecting azure-storage<0.36,>=0.35.1; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/76/bf/647b73450c70d4c5efbf57b35edf1b45928695a8b20dce2a4577dee0d539/azure_storage-0.35.1-py2.py3-none-any.whl
Collecting requests[security]; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Collecting azure-mgmt-compute<3,>=2.0.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/13/4a/a51770139aa79ccda3a35b7213a22515b432d0d45fad5a8e207d9d39fb60/azure_mgmt_compute-2.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-resource<2,>=1.1.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/71/ec/30b1bea83782bd890ba84c21ab8d1af71bc30f14f51b3688c0a32aec82ce/azure_mgmt_resource-1.2.2-py2.py3-none-any.whl
Collecting azure-mgmt-network<2,>=1.3.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/89/61/178d2fb43cd5c288a3e00e4433994dae4f243fa358ac5c87364a0dd55299/azure_mgmt_network-1.7.1-py2.py3-none-any.whl
Collecting msrest!=0.4.15; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/1b/5b/a37c0c349add159f6b89c44c568f4ae693b538b73ba083917c955d3090e3/msrest-0.4.28-py2.py3-none-any.whl
Collecting azure-mgmt-web<0.33,>=0.32.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/21/1d/1fd04a4d613779e27b2f30a4f17d319163489ac9112b1e2c206e7a4bcbf4/azure_mgmt_web-0.32.0-py2.py3-none-any.whl
Collecting azure-mgmt-sql<0.8,>=0.7.1; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/c9/ce/84fb845640af04acc2486d4cf578ee5bc0e16188fbfc3da186199db135bb/azure_mgmt_sql-0.7.1-py2.py3-none-any.whl
Collecting azure-cli-core<3,>=2.0.12; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/18/6f/df8b40765facbfd584288c6ed16ed26ccf2018e5d85493c1818620d1510d/azure_cli_core-2.0.31-py2.py3-none-any.whl
Collecting msrestazure<0.5,>=0.4.11; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ab/0f/9aaa6639f83dcc81b8280f97373e3e2102db8ccbb673735b24d130e95c42/msrestazure-0.4.27-py2.py3-none-any.whl
Collecting azure-mgmt-keyvault<0.41,>=0.40.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/45/5a/f3182d7ed82173d9af0bd96d01de4002eca8fddbd3c1feb99d839c5f4657/azure_mgmt_keyvault-0.40.0-py2.py3-none-any.whl
Collecting azure-mgmt-batch<5,>=4.1.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/e8/fb/fc700d1bf51c4359efb36aae643579b9bc6fabb5660403d5fb39293d028f/azure_mgmt_batch-4.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-containerservice<2.0.0,>=1.0.0; extra == "azure" (from ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/2f/7a/2d526759aef723bc6013b2bea9d59e739132494243c8bd39647465c0881a/azure_mgmt_containerservice-1.0.0-py2.py3-none-any.whl
Collecting s3transfer<0.2.0,>=0.1.10 (from boto3->-r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1 (from boto3->-r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
Collecting botocore<1.11.0,>=1.10.5 (from boto3->-r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/79/66/5709a5eb3b4cb3e62a40ef514fefcf829a369a75854ed69f630fa27444b4/botocore-1.10.5-py2.py3-none-any.whl
Collecting MarkupSafe (from jinja2==2.8->-r requirements.txt (line 9))
Collecting openstacksdk>=0.9.19 (from shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/55/54/a61cdfbc20d186e3923a0b55cb8af2dc8a147cd9a5c755ac4c1f9b6b1df6/openstacksdk-0.12.0-py2.py3-none-any.whl
Collecting os-client-config>=1.28.0 (from shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/41/8c/cb14dd2ed94b33dffea0414d31a716cb43291db4f397786ea0b03a887d87/os_client_config-1.29.0-py2.py3-none-any.whl
Collecting pbr!=2.1.0,>=2.0.0 (from shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/e1/ba/f95e3ec83f93919b1437028e989cf3fa5ff4f5cae4a1f62255f71deddb5b/pbr-4.0.2-py2.py3-none-any.whl
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting enum34; python_version < "3" (from cryptography->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting idna>=2.1 (from cryptography->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from paramiko->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ba/fe/02e3e2ee243966b143657fb8bd6bc97595841163b6d8c26820944acaec4d/pyasn1-0.4.2-py2.py3-none-any.whl
Collecting bcrypt>=3.1.3 (from paramiko->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/2e/5a/2abeae20ce294fe6bf63da0e0b5a885c788e1360bbd124edcc0429678a59/bcrypt-3.1.4-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pynacl>=1.0.1 (from paramiko->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/80/3d/d709b9fbd69e21dd3a4d34eb690c5484094699e03b7447bc7eb173cfd7b6/PyNaCl-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting azure-common~=1.1 (from azure-mgmt-dns<2,>=1.0.1; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ae/ae/bb3ff7f1dc6ed9234931f6a8105de5cfff6be0cd99b97c02fda1b1cfd9fd/azure_common-1.1.9-py2.py3-none-any.whl
Collecting azure-mgmt-nspkg>=2.0.0 (from azure-mgmt-dns<2,>=1.0.1; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/c9/e3/48b98f929290b0cd0aaa4707ecabb8aaeb267e8ef628af907f1d1c506ec7/azure_mgmt_nspkg-2.0.0-py2.py3-none-any.whl
Collecting pyparsing>=2.0.2 (from packaging; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl
Collecting azure-nspkg>=2.0.0 (from azure-storage<0.36,>=0.35.1; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/cd/a0/76ca6659ae9afd7567fdbb5b9c85e9c9a0b48238cfcacd92525484408f66/azure_nspkg-2.0.0-py2.py3-none-any.whl
Collecting python-dateutil (from azure-storage<0.36,>=0.35.1; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/0c/57/19f3a65bcf6d5be570ee8c35a5398496e10a0ddcbc95393b2d17f86aaaf8/python_dateutil-2.7.2-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests[security]; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests[security]; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests[security]; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting isodate>=0.6.0 (from msrest!=0.4.15; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl
Collecting requests-oauthlib>=0.5.0 (from msrest!=0.4.15; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/77/34/d0957563f20b259a31c12f14e858d79f2e66eb539d3c1b9ab7077ef030ca/requests_oauthlib-0.8.0-py2.py3-none-any.whl
Collecting colorama>=0.3.9 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Requirement already satisfied: wheel in ./env/lib/python2.7/site-packages (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2)) (0.31.0)
Collecting knack==0.3.2 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/dd/7c/55d96c5aad43ab9947ed0c68a5a29f2b2087e6ae3e783e7e622bd0135b6c/knack-0.3.2-py2.py3-none-any.whl
Collecting humanfriendly>=4.7 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/4c/9f/5d9364e51ef46254fad95689184da606324768a4c514efda6631c22b521b/humanfriendly-4.10-py2.py3-none-any.whl
Collecting adal>=0.4.7 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/8e/c7/639d67077c11de45c70d2fe780a4fab5b6234546fcc0dd9f011a7e987aa8/adal-0.5.1-py2.py3-none-any.whl
Collecting applicationinsights>=0.11.1 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
Collecting tabulate<=0.8.2,>=0.7.7 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
Collecting PyJWT (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/31/8f/19c302aa9a391dd1fbd249362b749021b88d40fb59af0363939a2250afed/PyJWT-1.6.1-py2.py3-none-any.whl
Collecting azure-cli-nspkg>=2.0.0 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/7c/94/cf884b92a870422f02c3f1f86573d04d5cc1abdc2ac51b8419c7ee2e2a00/azure_cli_nspkg-3.0.2-py2.py3-none-any.whl
Collecting pygments (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Collecting argcomplete>=1.8.0 (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/31/88/ba8d8684a8a27749250c66ff7c2b408fdbc29b50da61200338ff9b2607bf/argcomplete-1.9.4-py2.py3-none-any.whl
Requirement already satisfied: pip in ./env/lib/python2.7/site-packages (from azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2)) (10.0.1)
Collecting keyring>=5.6 (from msrestazure<0.5,>=0.4.11; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/df/62/2b91a6f701a5117d574a17a17ac45ae7713b17defe96cde76b09406c5faf/keyring-12.0.1-py2.py3-none-any.whl
Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.10->boto3->-r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Collecting docutils>=0.10 (from botocore<1.11.0,>=1.10.5->boto3->-r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/50/09/c53398e0005b11f7ffb27b7aa720c617aba53be4fb4f4f3f06b9b5c60f28/docutils-0.14-py2-none-any.whl
Collecting jsonpatch!=1.20,>=1.16 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/a0/e6/d50d526ae2218b765ddbdb2dda14d65e19f501ce07410b375bc43ad20b7a/jsonpatch-1.23-py2.py3-none-any.whl
Collecting munch>=2.1.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
Collecting appdirs>=1.3.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting dogpile.cache>=0.6.2 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
Collecting netifaces>=0.10.4 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/72/01/ba076082628901bca750bf53b322a8ff10c1d757dc29196a8e6082711c9d/netifaces-0.10.6.tar.gz
Collecting keystoneauth1>=3.4.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/46/e5/f78bf0af7833ab6e326342de9c3fe62deae07b792f4c6525dd41b7743ee2/keystoneauth1-3.5.0-py2.py3-none-any.whl
Collecting deprecation>=1.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
Collecting requestsexceptions>=1.2.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/01/8c/49ca60ea8c907260da4662582c434bec98716177674e88df3fd340acf06d/requestsexceptions-1.4.0-py2.py3-none-any.whl
Collecting os-service-types>=1.2.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/c7/ec/7ef45820d4fa2964f0fea5b264bbb1594b68e330513a161ddcf0efd963e4/os_service_types-1.2.0-py2-none-any.whl
Collecting iso8601>=0.1.11 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/ef/57/7162609dab394d38bbc7077b7ba0a6f10fb09d8b7701ea56fa1edc0c4345/iso8601-0.1.12-py2.py3-none-any.whl
Collecting decorator>=3.4.0 (from openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography->ansible[azure]==2.4.3->-r requirements.txt (line 2))
Collecting oauthlib>=0.6.2 (from requests-oauthlib>=0.5.0->msrest!=0.4.15; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/e0/ac/c6a0c98788aa0d61915190d089e9ebe680905a94261effe3936eb8fe356f/oauthlib-2.0.7-py2.py3-none-any.whl
Collecting monotonic; python_version == "2.6" or python_version == "2.7" or python_version == "3.0" or python_version == "3.1" or python_version == "3.2" (from humanfriendly>=4.7->azure-cli-core<3,>=2.0.12; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/9f/ff/68860dec8b90424028ca54df8b9fc8cd1c47ef58710bd5e591ec8c619243/monotonic-1.4-py2.py3-none-any.whl
Collecting secretstorage; sys_platform == "linux2" or sys_platform == "linux" (from keyring>=5.6->msrestazure<0.5,>=0.4.11; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
Collecting entrypoints (from keyring>=5.6->msrestazure<0.5,>=0.4.11; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/cc/8b/4eefa9b47f1910b3d2081da67726b066e379b04ca897acfe9f92bac56147/entrypoints-0.2.3-py2.py3-none-any.whl
Collecting jsonpointer>=1.9 (from jsonpatch!=1.20,>=1.16->openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/18/b0/a80d29577c08eea401659254dfaed87f1af45272899e1812d7e01b679bc5/jsonpointer-2.0-py2.py3-none-any.whl
Collecting stevedore>=1.20.0 (from keystoneauth1>=3.4.0->openstacksdk>=0.9.19->shade->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/17/6b/3b7d6d08b2ab3e5ef09e01c9f7b3b590ee135f289bb94553419e40922c25/stevedore-1.28.0-py2.py3-none-any.whl
Collecting configparser>=3.5; python_version == "2.7" (from entrypoints->keyring>=5.6->msrestazure<0.5,>=0.4.11; extra == "azure"->ansible[azure]==2.4.3->-r requirements.txt (line 2))
Building wheels for collected packages: pycrypto, netifaces
  Running setup.py bdist_wheel for pycrypto ... error
  Complete output from command /root/algo-master/env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-TTNzho/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-MLcfa8 --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/Crypto
  copying lib/Crypto/__init__.py -> build/lib.linux-x86_64-2.7/Crypto
  copying lib/Crypto/pct_warnings.py -> build/lib.linux-x86_64-2.7/Crypto
  creating build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/SHA224.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/SHA384.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/SHA.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/MD4.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/RIPEMD.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/MD2.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/HMAC.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/SHA512.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/hashalgo.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  copying lib/Crypto/Hash/MD5.py -> build/lib.linux-x86_64-2.7/Crypto/Hash
  creating build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/DES.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/ARC4.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/XOR.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/blockalgo.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/AES.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-x86_64-2.7/Crypto/Cipher
  creating build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/asn1.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/_number_new.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/Counter.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/RFC1751.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/py21compat.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/randpool.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/py3compat.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  copying lib/Crypto/Util/number.py -> build/lib.linux-x86_64-2.7/Crypto/Util
  creating build/lib.linux-x86_64-2.7/Crypto/Random
  copying lib/Crypto/Random/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Random
  copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.linux-x86_64-2.7/Crypto/Random
  copying lib/Crypto/Random/random.py -> build/lib.linux-x86_64-2.7/Crypto/Random
  creating build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna
  copying lib/Crypto/Random/Fortuna/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna
  copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna
  copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna
  copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.linux-x86_64-2.7/Crypto/Random/Fortuna
  creating build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG
  copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG
  copying lib/Crypto/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG
  copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG
  copying lib/Crypto/Random/OSRNG/nt.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG
  copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.linux-x86_64-2.7/Crypto/Random/OSRNG
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest
  copying lib/Crypto/SelfTest/st_common.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest
  copying lib/Crypto/SelfTest/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Cipher
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Hash
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol
  copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol
  copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol
  copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol
  copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol
  copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Protocol
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey
  copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey
  copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey
  copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey
  copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey
  copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/PublicKey
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random
  copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random
  copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random
  copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random
  copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna
  copying lib/Crypto/SelfTest/Random/Fortuna/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna
  copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna
  copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna
  copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/Fortuna
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Random/OSRNG
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util
  copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util
  copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util
  copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util
  copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util
  copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Util
  creating build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature
  copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature
  copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature
  copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.linux-x86_64-2.7/Crypto/SelfTest/Signature
  creating build/lib.linux-x86_64-2.7/Crypto/Protocol
  copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol
  copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol
  copying lib/Crypto/Protocol/Chaffing.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol
  copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.linux-x86_64-2.7/Crypto/Protocol
  creating build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/_RSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/_DSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/pubkey.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.linux-x86_64-2.7/Crypto/PublicKey
  creating build/lib.linux-x86_64-2.7/Crypto/Signature
  copying lib/Crypto/Signature/__init__.py -> build/lib.linux-x86_64-2.7/Crypto/Signature
  copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-x86_64-2.7/Crypto/Signature
  copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-x86_64-2.7/Crypto/Signature
  running build_ext
  running build_configure
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking for __gmpz_init in -lgmp... no
  checking for __gmpz_init in -lmpir... no
  checking whether mpz_powm is declared... no
  checking whether mpz_powm_sec is declared... no
  checking how to run the C preprocessor... gcc -E
  checking for grep that handles long lines and -e... /usr/bin/grep
  checking for egrep... /usr/bin/grep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking for inttypes.h... (cached) yes
  checking limits.h usability... yes
  checking limits.h presence... yes
  checking for limits.h... yes
  checking stddef.h usability... yes
  checking stddef.h presence... yes
  checking for stddef.h... yes
  checking for stdint.h... (cached) yes
  checking for stdlib.h... (cached) yes
  checking for string.h... (cached) yes
  checking wchar.h usability... yes
  checking wchar.h presence... yes
  checking for wchar.h... yes
  checking for inline... inline
  checking for int16_t... yes
  checking for int32_t... yes
  checking for int64_t... yes
  checking for int8_t... yes
  checking for size_t... yes
  checking for uint16_t... yes
  checking for uint32_t... yes
  checking for uint64_t... yes
  checking for uint8_t... yes
  checking for stdlib.h... (cached) yes
  checking for GNU libc compatible malloc... yes
  checking for memmove... yes
  checking for memset... yes
  configure: creating ./config.status
  config.status: creating src/config.h
  warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
  building 'Crypto.Hash._MD2' extension
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/src
  gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o
  src/MD2.c:31:20: fatal error: Python.h: No such file or directory
   #include "Python.h"
                      ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pycrypto
  Running setup.py clean for pycrypto
  Running setup.py bdist_wheel for netifaces ... error
  Complete output from command /root/algo-master/env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-TTNzho/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-kweLxD --python-tag cp27:
  running bdist_wheel
  running build
  running build_ext
  checking for getifaddrs...found.
  checking for getnameinfo...found.
  checking for IPv6 socket IOCTLs...not found.
  checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h.
  checking whether struct sockaddr has a length field...no.
  checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc.
  checking for routing socket support...no.
  checking for sysctl(CTL_NET...) support...no.
  checking for netlink support...yes.
  will use netlink to read routing table
  building 'netifaces' extension
  gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DNETIFACES_VERSION=0.10.6 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-x86_64-2.7/netifaces.o
  netifaces.c:1:20: fatal error: Python.h: No such file or directory
   #include <Python.h>
                      ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for netifaces
  Running setup.py clean for netifaces
Failed to build pycrypto netifaces
botocore 1.10.5 has requirement python-dateutil<2.7.0,>=2.1, but you'll have python-dateutil 2.7.2 which is incompatible.
Installing collected packages: pycparser, cffi, enum34, asn1crypto, idna, six, ipaddress, cryptography, pyasn1, bcrypt, pynacl, paramiko, MarkupSafe, jinja2, PyYAML, certifi, isodate, oauthlib, chardet, urllib3, pyopenssl, requests, requests-oauthlib, msrest, PyJWT, python-dateutil, adal, secretstorage, configparser, entrypoints, keyring, msrestazure, azure-nspkg, azure-common, azure-mgmt-nspkg, azure-mgmt-dns, azure-mgmt-storage, pyparsing, packaging, azure-storage, azure-mgmt-compute, azure-mgmt-resource, azure-mgmt-network, azure-mgmt-web, azure-mgmt-sql, colorama, tabulate, argcomplete, pygments, jmespath, knack, monotonic, humanfriendly, applicationinsights, azure-cli-nspkg, azure-cli-core, azure-mgmt-keyvault, azure-mgmt-batch, azure-mgmt-containerservice, ansible, dopy, boto, futures, docutils, botocore, s3transfer, boto3, apache-libcloud, jsonpointer, jsonpatch, munch, appdirs, dogpile.cache, pbr, netifaces, stevedore, iso8601, keystoneauth1, deprecation, requestsexceptions, os-service-types, decorator, openstacksdk, os-client-config, shade, pycrypto
  Running setup.py install for netifaces ... error
    Complete output from command /root/algo-master/env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-TTNzho/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-RmpIOW/install-record.txt --single-version-externally-managed --compile --install-headers /root/algo-master/env/include/site/python2.7/netifaces:
    running install
    running build
    running build_ext
    checking for getifaddrs...found.
    checking for getnameinfo...found.
    checking for IPv6 socket IOCTLs...not found.
    checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h.
    checking whether struct sockaddr has a length field...no.
    checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc.
    checking for routing socket support...no.
    checking for sysctl(CTL_NET...) support...no.
    checking for netlink support...yes.
    will use netlink to read routing table
    building 'netifaces' extension
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DNETIFACES_VERSION=0.10.6 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-x86_64-2.7/netifaces.o
    netifaces.c:1:20: fatal error: Python.h: No such file or directory
     #include <Python.h>
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/root/algo-master/env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-TTNzho/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-RmpIOW/install-record.txt --single-version-externally-managed --compile --install-headers /root/algo-master/env/include/site/python2.7/netifaces" failed with error code 1 in /tmp/pip-install-TTNzho/netifaces/
(env) [root@localhost algo-master]# uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
jackivanov commented 6 years ago

https://github.com/trailofbits/algo/blob/master/docs/deploy-from-redhat-centos6.md