# Pastebin wImw7cWF L71QZFFT3->$ pip install -U cryptography Downloading/unpacking cryptography Downloading cryptography-0.5.3.tar.gz (319kB): 319kB downloaded Running setup.py egg_info for package cryptography no previously-included directories found matching 'documentation/_build' zip_safe flag not set; analyzing archive contents... six: module references __path__ Installed /Users/john.wood/.pyenv/versions/barbican27_20140814/build/cryptography/six-1.7.3-py2.7.egg Searching for cffi>=0.8 Reading https://pypi.python.org/simple/cffi/ Best match: cffi 0.8.6 Downloading https://pypi.python.org/packages/source/c/cffi/cffi-0.8.6.tar.gz#md5=474b5a68299a6f05009171de1dc91be6 Processing cffi-0.8.6.tar.gz Writing /var/folders/7f/82bf20g52mlc3v8fp4c7xqb0xs09dr/T/easy_install-rFKHld/cffi-0.8.6/setup.cfg Running cffi-0.8.6/setup.py -q bdist_egg --dist-dir /var/folders/7f/82bf20g52mlc3v8fp4c7xqb0xs09dr/T/easy_install-rFKHld/cffi-0.8.6/egg-dist-tmp-Xvf829 compiling '_configtest.c': __thread int some_threadlocal_variable_42; /usr/bin/gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -c _configtest.c -o _configtest.o _configtest.c:1:1: error: thread-local storage is unsupported for the current target __thread int some_threadlocal_variable_42; ^ 1 error generated. failure. removing: _configtest.c _configtest.o Note: will not use '__thread' in the C code The above error message can be safely ignored c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found #include ^ 1 error generated. Traceback (most recent call last): File "", line 16, in File "/Users/john.wood/.pyenv/versions/barbican27_20140814/build/cryptography/setup.py", line 174, in "test": PyTest, File "/Users/john.wood/.pyenv/versions/2.7.5/lib/python2.7/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match return self.obtain(req, installer) # try and download/install File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain return installer(requirement) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg return cmd.easy_install(req) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1118, in run_setup raise DistutilsError("Setup script exited with %s" % (v.args[0],)) distutils.errors.DistutilsError: Setup script exited with error: command '/usr/bin/gcc' failed with exit status 1 Complete output from command python setup.py egg_info: no previously-included directories found matching 'documentation/_build' zip_safe flag not set; analyzing archive contents... six: module references __path__ Installed /Users/john.wood/.pyenv/versions/barbican27_20140814/build/cryptography/six-1.7.3-py2.7.egg Searching for cffi>=0.8 Reading https://pypi.python.org/simple/cffi/ Best match: cffi 0.8.6 Downloading https://pypi.python.org/packages/source/c/cffi/cffi-0.8.6.tar.gz#md5=474b5a68299a6f05009171de1dc91be6 Processing cffi-0.8.6.tar.gz Writing /var/folders/7f/82bf20g52mlc3v8fp4c7xqb0xs09dr/T/easy_install-rFKHld/cffi-0.8.6/setup.cfg Running cffi-0.8.6/setup.py -q bdist_egg --dist-dir /var/folders/7f/82bf20g52mlc3v8fp4c7xqb0xs09dr/T/easy_install-rFKHld/cffi-0.8.6/egg-dist-tmp-Xvf829 compiling '_configtest.c': __thread int some_threadlocal_variable_42; /usr/bin/gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -c _configtest.c -o _configtest.o _configtest.c:1:1: error: thread-local storage is unsupported for the current target __thread int some_threadlocal_variable_42; ^ 1 error generated. failure. removing: _configtest.c _configtest.o Note: will not use '__thread' in the C code The above error message can be safely ignored c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found #include ^ 1 error generated. Traceback (most recent call last): File "", line 16, in File "/Users/john.wood/.pyenv/versions/barbican27_20140814/build/cryptography/setup.py", line 174, in "test": PyTest, File "/Users/john.wood/.pyenv/versions/2.7.5/lib/python2.7/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match return self.obtain(req, installer) # try and download/install File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain return installer(requirement) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg return cmd.easy_install(req) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Users/john.wood/.pyenv/versions/barbican27_20140814/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1118, in run_setup raise DistutilsError("Setup script exited with %s" % (v.args[0],)) distutils.errors.DistutilsError: Setup script exited with error: command '/usr/bin/gcc' failed with exit status 1 ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /Users/john.wood/.pyenv/versions/barbican27_20140814/build/cryptography Storing complete log in /Users/john.wood/.pip/pip.log