The installation with pip does not work anymore because the newest version of Werkzeug (3.xx) is not compatible. adding the line Werkzeug==2.2.2 to requirements.txt fixes the issue