How do I auto load packages (such as libjpeg-dev) to my Elastic Beanstalk App?

后端 未结 2 909
南方客
南方客 2021-01-16 01:26

I have a auto scaling Elastic Beanstalk app running Python where I want to use PIL. When I do, it says that my jpeg decoder is missing and that I need to install libjpeg.

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-16 01:46

    I "fixed" this by setting up a completely new Elastic Beanstalk app and deploying the exact same application there. It then successfully installed the libjpeg package.

    I was never able to find out the answer to why it didnt work on the first Elastic Beanstalk App. But maybe it had something to do with PIL was first installed and then it couldnt install libjpeg after.

提交回复
热议问题