MicrosoftDocs / mslearn-python-products

MSLearn sample code
Creative Commons Attribution 4.0 International
29 stars 344 forks source link

resolve runtime error missing import (Werkzeug, implicit 2.3.x) #11

Open mjkammer78 opened 9 months ago

mjkammer78 commented 9 months ago

running application without the pinning down of Werkzeug dependency throws:

from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/vscode/.local/lib/python3.11/site-packages/werkzeug/urls.py)

as discussed in https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr