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

24👍

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:

packages:
    yum:
        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