PIP install unable to find ffi.h even though it recognizes libffi January 21, 2023 by Tarik You need to install the development package as well. libffi-dev on Debian/Ubuntu, libffi-devel on Redhat/Centos/Fedora.