How to install cffi package on AWS Beanstalk

后端 未结 1 1313
谎友^
谎友^ 2020-12-17 18:32

This question looks the same as this post, but since there was no answer, I am re-asking here.

I have a Django project to be deployed on AWS Beanstalk, which is usin

相关标签:
1条回答
  • 2020-12-17 19:29

    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.

    0 讨论(0)
提交回复
热议问题