elasticbeanstalk gcc and python-devel installation

Viewed 2035

I'm trying to run a flask application which has pandas dependency. Without having python-devel installed, pandas cannot be installed. So first I need to install gcc-c++ and python devel according to this thread: 'gcc' failed during pandas build on AWS Elastic Beanstalk

Now, my .elasticbeanstalk/config.yml looks like:

branch-defaults:
  default:
    environment: flask-env
    group_suffix: null
global:
  application_name: flask-sample-app
  branch: null
  default_ec2_keyname: flask-sample-app
  default_platform: Python 3.4
  default_region: eu-west-1
  include_git_submodules: true
  instance_profile: null
  platform_name: null
  platform_version: null
  profile: null
  repository: null
  sc: null
  workspace_type: Application
packages:
  yum:
    gcc-c++: []
    python-devel: []

But after successful eb deploy command, I connect to it via eb ssh and see that it wasn't installed. Is my config.yml correct?

2 Answers
Related