HeroCTF_v5
HeroCTF_v5 copied to clipboard
Flask: python error
❯ docker run flask
Traceback (most recent call last):
File "/var/www/app/app.py", line 1, in <module>
from flask import Flask, Request, Response, make_response
File "/usr/local/lib/python3.10/dist-packages/flask/__init__.py", line 5, in <module>
from .app import Flask as Flask
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 30, in <module>
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.10/dist-packages/werkzeug/urls.py)