question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory

See original GitHub issue

just ran pip install hendrix and got an error.

{{{ c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory #include <ffi.h> ^ compilation terminated. }}}

distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
cancan101commented, Oct 10, 2014

I dealt with this by:

sudo apt-get install libffi-dev
0reactions
dongwangdwcommented, May 9, 2017

sudo apt-get install libffi-dev

it works for me in Ubuntu 16.04

Read more comments on GitHub >

github_iconTop Results From Across the Web

fatal error: ffi.h: No such file or directory on pip2 install ...
Hello, based on my experience with the issue, the full statements of commands worked pretty good, however, performing install command with the ...
Read more >
#include <ffi.h> No Such File or Directory Even after ...
When trying to setup pyvex, the following error occurs. ERROR: Command errored out with exit status 1: command: /usr/bin/python3.8 -c 'import io ...
Read more >
fatal error: ffi.h: No such file or directory - SvennD
Missing library's are painful, this one I hit upon while compiling some python dependency's. gcc -pthread -fno-strict-aliasing -O2 -g -pipe ...
Read more >
Installation: fatal error: ffi.h: No such file or directory
When installing Congress stand-alone, the following error occurs on executing pip install -r requirements.txt --------------- creating ...
Read more >
Installing cffi fails with c/_cffi_backend.c:15:17: fatal error: ffi.h
... c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory ... I've been trying to install cffi for a while and I'm not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found