Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created April 25, 2016 16:25
Show Gist options
  • Save antoviaque/60b4f497433097a4df0e6c91a3e0aca6 to your computer and use it in GitHub Desktop.
Save antoviaque/60b4f497433097a4df0e6c91a3e0aca6 to your computer and use it in GitHub Desktop.
antoviaque@antoviaque-laptop:~/prog/edx/devops/deployment-secrets-services$ ./venv/bin/pip install -r requirements.txt
Collecting ansible==2.0.1 (from -r requirements.txt (line 1))
Collecting cryptography==1.3.1 (from -r requirements.txt (line 2))
Using cached cryptography-1.3.1.tar.gz
Collecting paramiko (from ansible==2.0.1->-r requirements.txt (line 1))
Using cached paramiko-1.16.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./venv/lib/python2.7/site-packages (from ansible==2.0.1->-r requirements.txt (line 1))
Collecting PyYAML (from ansible==2.0.1->-r requirements.txt (line 1))
Collecting pycrypto>=2.6 (from ansible==2.0.1->-r requirements.txt (line 1))
Using cached pycrypto-2.6.1.tar.gz
Collecting jinja2 (from ansible==2.0.1->-r requirements.txt (line 1))
Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting idna>=2.0 (from cryptography==1.3.1->-r requirements.txt (line 2))
Using cached idna-2.1-py2.py3-none-any.whl
Collecting pyasn1>=0.1.8 (from cryptography==1.3.1->-r requirements.txt (line 2))
Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Collecting six>=1.4.1 (from cryptography==1.3.1->-r requirements.txt (line 2))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting enum34 (from cryptography==1.3.1->-r requirements.txt (line 2))
Using cached enum34-1.1.3-py2.py3-none-any.whl
Collecting ipaddress (from cryptography==1.3.1->-r requirements.txt (line 2))
Using cached ipaddress-1.0.16-py27-none-any.whl
Collecting cffi>=1.4.1 (from cryptography==1.3.1->-r requirements.txt (line 2))
Using cached cffi-1.6.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): ecdsa>=0.11 in ./venv/lib/python2.7/site-packages (from paramiko->ansible==2.0.1->-r requirements.txt (line 1))
Collecting MarkupSafe (from jinja2->ansible==2.0.1->-r requirements.txt (line 1))
Collecting pycparser (from cffi>=1.4.1->cryptography==1.3.1->-r requirements.txt (line 2))
Building wheels for collected packages: cryptography, pycrypto, cffi
Running setup.py bdist_wheel for cryptography ... error
Complete output from command /home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cw58g2/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpCA7o99pip-wheel- --python-tag cp27:
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-cw58g2/cryptography/setup.py", line 335, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1092, in best_match
return self.obtain(req, installer)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1104, in obtain
return installer(requirement)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 640, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 670, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 850, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1066, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cryptography
Running setup.py clean for cryptography
Complete output from command /home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cw58g2/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" clean --all:
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-cw58g2/cryptography/setup.py", line 335, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1092, in best_match
return self.obtain(req, installer)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1104, in obtain
return installer(requirement)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 640, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 670, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 850, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1066, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed cleaning build dir for cryptography
Running setup.py bdist_wheel for pycrypto ... done
Stored in directory: /home/antoviaque/.cache/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce
Running setup.py bdist_wheel for cffi ... error
Complete output from command /home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cw58g2/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmps2bCmZpip-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/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/gc_weakref.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/api.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/model.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/c
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 -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cffi
Running setup.py clean for cffi
Successfully built pycrypto
Failed to build cryptography cffi
Installing collected packages: pycrypto, paramiko, PyYAML, MarkupSafe, jinja2, ansible, idna, pyasn1, six, enum34, ipaddress, pycparser, cffi, cryptography
Running setup.py install for cffi ... error
Complete output from command /home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cw58g2/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-RTCtSq-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/include/site/python2.7/cffi:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/gc_weakref.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/api.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/model.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/c
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 -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cw58g2/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-RTCtSq-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/antoviaque/prog/edx/devops/deployment-secrets-services/venv/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-cw58g2/cffi/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment