Skip to content

Instantly share code, notes, and snippets.

@darshanime
Created October 26, 2015 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darshanime/7f6514961df666a95f05 to your computer and use it in GitHub Desktop.
Save darshanime/7f6514961df666a95f05 to your computer and use it in GitHub Desktop.
actionid: py27
msg: getenv
cmdargs: [local('/home/radar/projects/scrapy/.tox/py27/bin/pip'), 'install', '-rrequirements.txt', 'boto', 'Pillow != 3.0.0', 'leveldb', '-rtests/requirements.txt']
env: {'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/radar', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'QT_IM_MODULE': 'ibus', 'LOGNAME': 'radar', 'USER': 'radar', 'PATH': '/home/radar/projects/scrapy/.tox/py27/bin:/home/radar/anaconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games', 'XDG_VTNR': '7', 'GNOME_KEYRING_CONTROL': '/run/user/1000/keyring-PAG3bi', 'DISPLAY': ':0', 'LANG': 'en_IN', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XAUTHORITY': '/home/radar/.Xauthority', 'LANGUAGE': 'en_IN:en', 'SESSION_MANAGER': 'local/radar-Inspiron-5420:@/tmp/.ICE-unix/1601,unix/radar-Inspiron-5420:/tmp/.ICE-unix/1601', 'SHLVL': '1', 'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'CLUTTER_IM_MODULE': 'xim', 'VIRTUAL_ENV': '/home/radar/projects/scrapy/.tox/py27', 'TEXTDOMAIN': 'im-config', 'JOB': 'dbus', 'WINDOWID': '65011719', 'SESSIONTYPE': 'gnome-session', 'XMODIFIERS': '@im=ibus', 'PYTHONHASHSEED': '3878666906', 'GPG_AGENT_INFO': '/run/user/1000/keyring-PAG3bi/gpg:0:1', 'HOME': '/home/radar', 'QT4_IM_MODULE': 'xim', 'SELINUX_INIT': 'YES', 'COMP_WORDBREAKS': ' \t\n"\'><;|&(:', 'XDG_RUNTIME_DIR': '/run/user/1000', 'GTK_IM_MODULE': 'ibus', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/1000/keyring-PAG3bi/ssh', 'VTE_VERSION': '3409', 'GDMSESSION': 'ubuntu', 'IM_CONFIG_PHASE': '1', 'TEXTDOMAINDIR': '/usr/share/locale/', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/', 'PKG_CONFIG_PATH': ':/usr/local/lib/pkgconfig', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'XDG_CURRENT_DESKTOP': 'Unity', 'XDG_SESSION_ID': 'c1', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-yGFtSm6diy', '_': '/usr/local/bin/tox', 'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'SESSION': 'ubuntu', 'DESKTOP_SESSION': 'ubuntu', 'UPSTART_SESSION': 'unix:abstract=/com/ubuntu/upstart-session/1000/1418', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'GNOME_KEYRING_PID': '1532', 'OLDPWD': '/home/radar/projects', 'GDM_LANG': 'en_US', 'GTK_MODULES': 'overlay-scrollbar:unity-gtk-module', 'INSTANCE': '', 'PWD': '/home/radar/projects/scrapy', 'COLORTERM': 'gnome-terminal', 'XDG_MENU_PREFIX': 'gnome-', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'COMPIZ_BIN_PATH': '/usr/bin/', 'XDG_SEAT': 'seat0'}
Collecting boto
Using cached boto-2.38.0-py2.py3-none-any.whl
Collecting Pillow!=3.0.0
Using cached Pillow-2.9.0.tar.gz
Collecting leveldb
Using cached leveldb-0.193.tar.gz
Collecting Twisted>=10.0.0 (from -r requirements.txt (line 1))
Using cached Twisted-15.4.0.tar.bz2
Collecting lxml (from -r requirements.txt (line 2))
Downloading lxml-3.4.4.tar.gz (3.5MB)
Collecting pyOpenSSL (from -r requirements.txt (line 3))
Downloading pyOpenSSL-0.15.1-py2.py3-none-any.whl (102kB)
Collecting cssselect>=0.9 (from -r requirements.txt (line 4))
Downloading cssselect-0.9.1.tar.gz
Collecting w3lib>=1.8.0 (from -r requirements.txt (line 5))
Downloading w3lib-1.12.0-py2.py3-none-any.whl
Collecting queuelib (from -r requirements.txt (line 6))
Downloading queuelib-1.4.2-py2.py3-none-any.whl
Collecting six>=1.5.2 (from -r requirements.txt (line 7))
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting PyDispatcher>=2.0.5 (from -r requirements.txt (line 8))
Downloading PyDispatcher-2.0.5.tar.gz
Collecting service-identity (from -r requirements.txt (line 9))
Downloading service_identity-14.0.0-py2.py3-none-any.whl
Collecting parsel>=0.9.5 (from -r requirements.txt (line 10))
Downloading parsel-1.0.1-py2.py3-none-any.whl
Collecting mock (from -r tests/requirements.txt (line 1))
Downloading mock-1.3.0-py2.py3-none-any.whl (56kB)
Collecting mitmproxy==0.10.1 (from -r tests/requirements.txt (line 2))
Downloading mitmproxy-0.10.1.tar.gz (3.4MB)
Collecting netlib==0.10.1 (from -r tests/requirements.txt (line 3))
Downloading netlib-0.10.1.tar.gz (299kB)
Collecting pytest==2.7.3 (from -r tests/requirements.txt (line 4))
Downloading pytest-2.7.3-py2.py3-none-any.whl (128kB)
Collecting pytest-twisted (from -r tests/requirements.txt (line 5))
Downloading pytest_twisted-1.5-py27-none-any.whl
Collecting pytest-cov (from -r tests/requirements.txt (line 6))
Downloading pytest_cov-2.2.0-py2.py3-none-any.whl
Collecting jmespath (from -r tests/requirements.txt (line 7))
Downloading jmespath-0.9.0-py2.py3-none-any.whl
Collecting testfixtures (from -r tests/requirements.txt (line 8))
Downloading testfixtures-4.3.3-py2.py3-none-any.whl (68kB)
Collecting bpython (from -r tests/requirements.txt (line 9))
Downloading bpython-0.14.2.tar.gz (184kB)
Collecting ipython (from -r tests/requirements.txt (line 10))
Downloading ipython-4.0.0-py2-none-any.whl (730kB)
Collecting zope.interface>=3.6.0 (from Twisted>=10.0.0->-r requirements.txt (line 1))
Downloading zope.interface-4.1.3.tar.gz (141kB)
Collecting cryptography>=0.7 (from pyOpenSSL->-r requirements.txt (line 3))
Downloading cryptography-1.0.2.tar.gz (332kB)
Collecting pyasn1-modules (from service-identity->-r requirements.txt (line 9))
Downloading pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting pyasn1 (from service-identity->-r requirements.txt (line 9))
Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Collecting characteristic>=14.0.0 (from service-identity->-r requirements.txt (line 9))
Downloading characteristic-14.3.0-py2.py3-none-any.whl
Collecting pbr>=0.11 (from mock->-r tests/requirements.txt (line 1))
Downloading pbr-1.8.1-py2.py3-none-any.whl (89kB)
Collecting funcsigs (from mock->-r tests/requirements.txt (line 1))
Downloading funcsigs-0.4-py2.py3-none-any.whl
Collecting urwid>=1.1 (from mitmproxy==0.10.1->-r tests/requirements.txt (line 2))
Downloading urwid-1.3.0.tar.gz (580kB)
Collecting flask (from mitmproxy==0.10.1->-r tests/requirements.txt (line 2))
Downloading Flask-0.10.1.tar.gz (544kB)
Collecting py>=1.4.29 (from pytest==2.7.3->-r tests/requirements.txt (line 4))
Downloading py-1.4.30-py2.py3-none-any.whl (81kB)
Collecting decorator (from pytest-twisted->-r tests/requirements.txt (line 5))
Downloading decorator-4.0.4-py2.py3-none-any.whl
Collecting greenlet (from pytest-twisted->-r tests/requirements.txt (line 5))
Downloading greenlet-0.4.9.tar.gz (54kB)
Collecting coverage>=3.7.1 (from pytest-cov->-r tests/requirements.txt (line 6))
Downloading coverage-4.0.1.tar.gz (349kB)
Collecting pygments (from bpython->-r tests/requirements.txt (line 9))
Downloading Pygments-2.0.2-py2-none-any.whl (672kB)
Collecting requests (from bpython->-r tests/requirements.txt (line 9))
Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
Collecting curtsies<0.2.0,>=0.1.18 (from bpython->-r tests/requirements.txt (line 9))
Downloading curtsies-0.1.19-py2.py3-none-any.whl
Collecting ndg-httpsclient (from bpython->-r tests/requirements.txt (line 9))
Downloading ndg_httpsclient-0.4.0.tar.gz
Collecting pickleshare (from ipython->-r tests/requirements.txt (line 10))
Downloading pickleshare-0.5.tar.gz
Collecting traitlets (from ipython->-r tests/requirements.txt (line 10))
Downloading traitlets-4.0.0-py2.py3-none-any.whl (56kB)
Collecting simplegeneric>0.8 (from ipython->-r tests/requirements.txt (line 10))
Downloading simplegeneric-0.8.1.zip
Collecting pexpect (from ipython->-r tests/requirements.txt (line 10))
Downloading pexpect-4.0.1.tar.gz (143kB)
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./.tox/py27/lib/python2.7/site-packages (from zope.interface>=3.6.0->Twisted>=10.0.0->-r requirements.txt (line 1))
Collecting idna>=2.0 (from cryptography>=0.7->pyOpenSSL->-r requirements.txt (line 3))
Downloading idna-2.0-py2.py3-none-any.whl (61kB)
Collecting enum34 (from cryptography>=0.7->pyOpenSSL->-r requirements.txt (line 3))
Downloading enum34-1.0.4.tar.gz
Collecting ipaddress (from cryptography>=0.7->pyOpenSSL->-r requirements.txt (line 3))
Downloading ipaddress-1.0.14-py27-none-any.whl
Collecting cffi>=1.1.0 (from cryptography>=0.7->pyOpenSSL->-r requirements.txt (line 3))
Downloading cffi-1.3.0.tar.gz (347kB)
Collecting Werkzeug>=0.7 (from flask->mitmproxy==0.10.1->-r tests/requirements.txt (line 2))
Downloading Werkzeug-0.10.4-py2.py3-none-any.whl (293kB)
Collecting Jinja2>=2.4 (from flask->mitmproxy==0.10.1->-r tests/requirements.txt (line 2))
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
Collecting itsdangerous>=0.21 (from flask->mitmproxy==0.10.1->-r tests/requirements.txt (line 2))
Downloading itsdangerous-0.24.tar.gz (46kB)
Collecting blessings>=1.5 (from curtsies<0.2.0,>=0.1.18->bpython->-r tests/requirements.txt (line 9))
Downloading blessings-1.6.tar.gz
Collecting path.py (from pickleshare->ipython->-r tests/requirements.txt (line 10))
Downloading path.py-8.1.2-py2.py3-none-any.whl
Collecting ipython-genutils (from traitlets->ipython->-r tests/requirements.txt (line 10))
Downloading ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect->ipython->-r tests/requirements.txt (line 10))
Downloading ptyprocess-0.5.tar.gz
Collecting pycparser (from cffi>=1.1.0->cryptography>=0.7->pyOpenSSL->-r requirements.txt (line 3))
Downloading pycparser-2.14.tar.gz (223kB)
Collecting MarkupSafe (from Jinja2>=2.4->flask->mitmproxy==0.10.1->-r tests/requirements.txt (line 2))
Downloading MarkupSafe-0.23.tar.gz
Building wheels for collected packages: Pillow, leveldb, Twisted, lxml, cssselect, PyDispatcher, mitmproxy, netlib, bpython, zope.interface, cryptography, urwid, flask, greenlet, coverage, ndg-httpsclient, pickleshare, simplegeneric, pexpect, enum34, cffi, itsdangerous, blessings, ptyprocess, pycparser, MarkupSafe
Running setup.py bdist_wheel for Pillow
Stored in directory: /home/radar/.cache/pip/wheels/e3/29/cd/0761582ad93ad680a439eb56b021fe26739be7a7d5dc05ee15
Running setup.py bdist_wheel for leveldb
Stored in directory: /home/radar/.cache/pip/wheels/b7/b6/e7/cb08db023554e85624443d77288ebba414baa99e8dd7a64107
Running setup.py bdist_wheel for Twisted
Stored in directory: /home/radar/.cache/pip/wheels/fc/01/32/919cfdb9909c0e1ec3006a59754fce5c69f637d5aeca0be422
Running setup.py bdist_wheel for lxml
Stored in directory: /home/radar/.cache/pip/wheels/62/29/26/11383932dbed36e9fe68552fc755a96cfc6fa5833d948620da
Running setup.py bdist_wheel for cssselect
Stored in directory: /home/radar/.cache/pip/wheels/c6/0e/79/ae69bf7b31029e0f0bc5b8306547f94ec3926b7dbb8452b5ea
Running setup.py bdist_wheel for PyDispatcher
Stored in directory: /home/radar/.cache/pip/wheels/83/19/da/6046a82324db0ed07ba3f480aa7a14a8c94f33de8a15ba6654
Running setup.py bdist_wheel for mitmproxy
Stored in directory: /home/radar/.cache/pip/wheels/6e/d6/14/712e2b4517cb4799968fa698d04e2fb39c738ff337c0a0d1db
Running setup.py bdist_wheel for netlib
Stored in directory: /home/radar/.cache/pip/wheels/6d/ca/1e/51609d9d5e12bf27aa5241224fce267fe1eb225e08f1932717
Running setup.py bdist_wheel for bpython
Stored in directory: /home/radar/.cache/pip/wheels/cd/7a/b9/85c21e8e337c2641ac59c1725f27d436889c18a85276eeb1a4
Running setup.py bdist_wheel for zope.interface
Stored in directory: /home/radar/.cache/pip/wheels/c9/15/5b/3a7e3c7c3b67b5ee002c0ebe8ac1f46ec3c0379c5037c6ab71
Running setup.py bdist_wheel for cryptography
Complete output from command /home/radar/projects/scrapy/.tox/py27/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-J4_xGC/cryptography/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmph53rDYpip-wheel-:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-J4_xGC/cryptography/setup.py", line 313, in <module>
**keywords_with_side_effects(sys.argv)
File "/home/radar/anaconda/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/dist.py", line 268, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 836, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1081, in best_match
return self.obtain(req, installer)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1093, in obtain
return installer(requirement)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 629, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 842, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1070, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/radar/projects/scrapy/.tox/py27/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1058, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cryptography
Running setup.py bdist_wheel for urwid
Stored in directory: /home/radar/.cache/pip/wheels/4d/93/ba/40b11569d0cdc1a4e807ed34a9672b0fbfa57aa36972b7c82a
Running setup.py bdist_wheel for flask
Stored in directory: /home/radar/.cache/pip/wheels/d2/db/61/cb9b80526b8f3ba89248ec0a29d6da1bb6013681c930fca987
Running setup.py bdist_wheel for greenlet
Stored in directory: /home/radar/.cache/pip/wheels/08/9c/52/3d8ee766d654c43b131dcc954f255f8c6270bef617da0ac3e6
Running setup.py bdist_wheel for coverage
Stored in directory: /home/radar/.cache/pip/wheels/3d/2d/5f/5e812a155cc0752a0f99157ee14aebbcd87b8d425083f463f5
Running setup.py bdist_wheel for ndg-httpsclient
Stored in directory: /home/radar/.cache/pip/wheels/30/85/40/a29750f9287fe119a10708580a73cfb16f51e5f9a820430a2d
Running setup.py bdist_wheel for pickleshare
Stored in directory: /home/radar/.cache/pip/wheels/99/3e/8b/7d87bf47f2c2d437fcb9a913cd5c4b393b7132c508633e3eef
Running setup.py bdist_wheel for simplegeneric
Stored in directory: /home/radar/.cache/pip/wheels/51/3c/13/2b621669f3ba74b01380aefcc0af0f643bb42360e7248496ed
Running setup.py bdist_wheel for pexpect
Stored in directory: /home/radar/.cache/pip/wheels/ea/5b/53/4b65a279e1390ae81febe74f660ce01ef4655c9c1ec9acd9bf
Running setup.py bdist_wheel for enum34
Stored in directory: /home/radar/.cache/pip/wheels/d1/b2/2c/b51348698bd1921a226cf48d790b282d86fb4bcf9728afd6b3
Running setup.py bdist_wheel for cffi
Complete output from command /home/radar/projects/scrapy/.tox/py27/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-J4_xGC/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmprBKILipip-wheel-:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
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/gc_weakref.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/model.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/vengine_cpy.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/cffi_opcode.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/backend_ctypes.py -> build/lib.linux-x86_64-2.7/cffi
copying cffi/ffiplatform.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
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/c
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/home/radar/anaconda/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cffi
Running setup.py bdist_wheel for itsdangerous
Stored in directory: /home/radar/.cache/pip/wheels/97/c0/b8/b37c320ff57e15f993ba0ac98013eee778920b4a7b3ebae3cf
Running setup.py bdist_wheel for blessings
Stored in directory: /home/radar/.cache/pip/wheels/f3/c9/62/5c19370a7e3b1a8221411d67be2f483e4b1a44b0a9fb2d1217
Running setup.py bdist_wheel for ptyprocess
Stored in directory: /home/radar/.cache/pip/wheels/8f/0b/d5/45ebc79539db587c173a63b42572328136bdb098210767fb80
Running setup.py bdist_wheel for pycparser
Stored in directory: /home/radar/.cache/pip/wheels/c7/28/31/bac6d0b118c0bdcbf57f9219afdf2e624379c07efa6c769dbc
Running setup.py bdist_wheel for MarkupSafe
Stored in directory: /home/radar/.cache/pip/wheels/94/a7/79/f79a998b64c1281cb99fa9bbd33cfc9b8b5775f438218d17a7
Successfully built Pillow leveldb Twisted lxml cssselect PyDispatcher mitmproxy netlib bpython zope.interface urwid flask greenlet coverage ndg-httpsclient pickleshare simplegeneric pexpect enum34 itsdangerous blessings ptyprocess pycparser MarkupSafe
Failed to build cryptography cffi
Installing collected packages: boto, Pillow, leveldb, zope.interface, Twisted, lxml, idna, pyasn1, six, enum34, ipaddress, pycparser, cffi, cryptography, pyOpenSSL, cssselect, w3lib, queuelib, PyDispatcher, pyasn1-modules, characteristic, service-identity, parsel, pbr, funcsigs, mock, netlib, urwid, Werkzeug, MarkupSafe, Jinja2, itsdangerous, flask, mitmproxy, py, pytest, decorator, greenlet, pytest-twisted, coverage, pytest-cov, jmespath, testfixtures, pygments, requests, blessings, curtsies, ndg-httpsclient, bpython, path.py, pickleshare, ipython-genutils, traitlets, simplegeneric, ptyprocess, pexpect, ipython
Running setup.py install for cffi
Complete output from command /home/radar/projects/scrapy/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-J4_xGC/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-iNMPNy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/radar/projects/scrapy/.tox/py27/include/site/python2.7/cffi:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
running install
running build
running build_py
running build_ext
building '_cffi_backend' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/home/radar/anaconda/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/radar/projects/scrapy/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-J4_xGC/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-iNMPNy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/radar/projects/scrapy/.tox/py27/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-J4_xGC/cffi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment