Open MTipuric opened 8 months ago
Point 5 in the read me
On Thu, 28 Mar 2024, 18:34 Miguel Grinberg, @.***> wrote:
What is "Quick Setup 5"?
— Reply to this email directly, view it on GitHub https://github.com/miguelgrinberg/flask-celery-example/issues/33#issuecomment-2025867117, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4HXXVQTYUVGOBH47KB22NTY2RID3AVCNFSM6AAAAABFNCNLYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVHA3DOMJRG4 . You are receiving this because you authored the thread.Message ID: @.***>
Did you install the requirements with pip install -r requirements.txt? This is an old repository, for things to work you need to use the dependencies as they were recorded at the time. The error probably happens because you have a mix of old and new dependencies.
I did, within a virtual environment. The code runs fine with the updated flask and Jinja versions, despite the age. I understand if code this old isn't being maintained. I only submitted it as an issue in case it helped anyone else still following your tutorial who wanted to get the example code working again.
Issue: on Quick Setup 5 'venv/bin/python app.py', app fails to run
Cause: unsupported version of Flask in requirements.txt
Fix: upgrade Flask>=2.2.2