I am trying to run setup.py related to a proprietary software installation and it has dependencies on libffi.
Since its Redhat 6.5 the python version was 2.6 and i i
You will need the development version of libffi to install libraries which depends on libffi :
sudo yum install libffi-devel
This worked for me