[Solved]-How to install cffi package on AWS Beanstalk


To install the cffi python package, you first need to install libffi-devel using yum:

sudo yum install libffi-devel

Which you can automate by adding it to your config file in the .ebextensions folder like this:

        libffi-devel: []

This was mentioned in the other post, but since the search engine brought me here first and the other is marked as duplicate… I thought I should better reply here.

Leave a comment