You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Werkzerug is upgraded to 3.X, so flask 2.0.3 will use werkzerug 3.X by default, which will raise the following error: ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
To solve the problem, flask recipe requirements should be updated like this: pythonforandroid/recipes/flask/__init__.py python_depends = ['jinja2', 'werkzeug==2.2.2', 'markupsafe', 'itsdangerous', 'click']
or flask recipe shoud be updated to 3.X.
More details: https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr
The text was updated successfully, but these errors were encountered:
HugoPu
changed the title
Flask recipe doesnt work anymore
Flask recipe doesn't work anymore
Dec 13, 2024
Werkzerug is upgraded to 3.X, so flask 2.0.3 will use werkzerug 3.X by default, which will raise the following error:
ImportError: cannot import name 'url_quote' from 'werkzeug.urls'
To solve the problem, flask recipe requirements should be updated like this:
pythonforandroid/recipes/flask/__init__.py
python_depends = ['jinja2', 'werkzeug==2.2.2', 'markupsafe', 'itsdangerous', 'click']
or flask recipe shoud be updated to 3.X.
More details:
https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr
The text was updated successfully, but these errors were encountered: