2

I have a simple Elastic Beanstalk Python instance that is installing flask using a requirements.txt file that looks like this

Flask==1.0.2

This works, but in the interests of speed I am trying to instead use a predownloaded wheel .whl file to install.

I have tried putting the .whl file in the /opt/python/current/wheels/flask.whl requirements.txt like this...

-f /opt/python/current/app/wheels Flask==1.0.2

But this is not working, where am I going wrong?

fightstarr20
  • 11,682
  • 40
  • 154
  • 278
  • Try putting just /opt/python/current/wheels/flask.whl in the requirements.txt. Link to official document - https://pip.pypa.io/en/stable/reference/pip_install/#example-requirements-file – gowthz Apr 22 '21 at 09:36

0 Answers0