{"action":"created","issue":{"url":"https://api.github.com/repos/bpython/bpython/issues/565","labels_url":"https://api.github.com/repos/bpython/bpython/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/bpython/bpython/issues/565/comments","events_url":"https://api.github.com/repos/bpython/bpython/issues/565/events","html_url":"https://github.com/bpython/bpython/issues/565","id":106995952,"number":565,"title":"error: command 'x86_64-linux-gnu-gcc' failed with exit status 1","user":{"login":"kramer65","id":596581,"avatar_url":"https://avatars.githubusercontent.com/u/596581?v=3","gravatar_id":"","url":"https://api.github.com/users/kramer65","html_url":"https://github.com/kramer65","followers_url":"https://api.github.com/users/kramer65/followers","following_url":"https://api.github.com/users/kramer65/following{/other_user}","gists_url":"https://api.github.com/users/kramer65/gists{/gist_id}","starred_url":"https://api.github.com/users/kramer65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kramer65/subscriptions","organizations_url":"https://api.github.com/users/kramer65/orgs","repos_url":"https://api.github.com/users/kramer65/repos","events_url":"https://api.github.com/users/kramer65/events{/privacy}","received_events_url":"https://api.github.com/users/kramer65/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-17T14:21:47Z","updated_at":"2015-09-18T09:28:00Z","closed_at":null,"body":"I'm trying to install bpython a a fairly fresh Ubuntu 14.04 box using `sudo pip install bpython`. But this ends in the errors below.\r\n\r\nSo I made sure I had `python-dev` installed and also `b﻿﻿uild-essential` is already the newest version. But the problem persists. Any idea what the problem could be?\r\n\r\nc/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory\r\n     #include <ffi.h>\r\n                     ^\r\n    compilation terminated.\r\n    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n\r\n    ----------------------------------------\r\nCommand \"/usr/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-K8hLHA/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-fHkdI7-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-K8hLHA/cffi"},"comment":{"url":"https://api.github.com/repos/bpython/bpython/issues/comments/141397044","html_url":"https://github.com/bpython/bpython/issues/565#issuecomment-141397044","issue_url":"https://api.github.com/repos/bpython/bpython/issues/565","id":141397044,"user":{"login":"ikanobori","id":69813,"avatar_url":"https://avatars.githubusercontent.com/u/69813?v=3","gravatar_id":"","url":"https://api.github.com/users/ikanobori","html_url":"https://github.com/ikanobori","followers_url":"https://api.github.com/users/ikanobori/followers","following_url":"https://api.github.com/users/ikanobori/following{/other_user}","gists_url":"https://api.github.com/users/ikanobori/gists{/gist_id}","starred_url":"https://api.github.com/users/ikanobori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikanobori/subscriptions","organizations_url":"https://api.github.com/users/ikanobori/orgs","repos_url":"https://api.github.com/users/ikanobori/repos","events_url":"https://api.github.com/users/ikanobori/events{/privacy}","received_events_url":"https://api.github.com/users/ikanobori/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T09:28:00Z","updated_at":"2015-09-18T09:28:00Z","body":"You probably need to install the `libffi-dev` package through your package\nmanager.\n"}}