i know this has been asked before so i do apologise, but i cant get any solution working.
try:
from werkzeug.urls import url_quote # Werkzeug 0.15.0 and newer
except ImportError:
try:
from werkzeug import url_quote # Werkzeug 0.14.x
except ImportError:
# Define a fallback implementation of url_quote using quote_plus from urllib.parse
def url_quote(s):
if isinstance(s, str):
s = s.encode("utf-8")
return quote_plus(s)
my requirements.txt are:
requests
openai
Flask==2.2.2
Werkzeug==2.3.7
which is the latest of all combinations ive tried.
this is my first time trying to deploy a web app and im doing it on azure, and i cant shake this error!
Im pretty new so i could be making a silly mistake, but im bashing my head against a wall!
if i can get any help, i would seriously appreciate it. Im using python 3.12 id that makes a difference.