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
There is some sort of version / dependency issue with Flask and Werkzeug:
cd nginx-flask-mysql
docker compose up
Crashes with the following trace, over and over:
nginx-flask-mysql-backend-1 | Traceback (most recent call last):
nginx-flask-mysql-backend-1 | File "/usr/local/bin/flask", line 5, in <module>
nginx-flask-mysql-backend-1 | from flask.cli import main
nginx-flask-mysql-backend-1 | File "/usr/local/lib/python3.10/site-packages/flask/__init__.py", line 7, in <module>
nginx-flask-mysql-backend-1 | from .app import Flask as Flask
nginx-flask-mysql-backend-1 | File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 28, in <module>
nginx-flask-mysql-backend-1 | from . import cli
nginx-flask-mysql-backend-1 | File "/usr/local/lib/python3.10/site-packages/flask/cli.py", line 18, in <module>
nginx-flask-mysql-backend-1 | from .helpers import get_debug_flag
nginx-flask-mysql-backend-1 | File "/usr/local/lib/python3.10/site-packages/flask/helpers.py", line 16, in <module>
nginx-flask-mysql-backend-1 | from werkzeug.urls import url_quote
nginx-flask-mysql-backend-1 | ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.10/site-packages/werkzeug/urls.py)
nginx-flask-mysql-backend-1 exited with code 1
The text was updated successfully, but these errors were encountered:
This is a version problem. I had the same. I haven't looked much into it to understand the real issue, however, I found that those two versions work together. :
There is some sort of version / dependency issue with Flask and Werkzeug:
Crashes with the following trace, over and over:
The text was updated successfully, but these errors were encountered: