Error When Trying To Deploy Flask App To Aws Elastic Beanstalk
I am trying to deploy a Flask application using AWS Elastic Beanstalk and unfortunately have run into the following error. What confuses me is that the current version of pip in my
Solution 1:
This is because the pip version is too old. you can add .ebextensions
to solve this.
- add
.ebextensions
folder in the root folder of your app - put a
pip.config
file inside it, the content is :
commands:
update_pip:
command: "/opt/python/run/venv/bin/pip install --upgrade pip"
- run eb deploy again, it will be resolved.
Post a Comment for "Error When Trying To Deploy Flask App To Aws Elastic Beanstalk"