DEV Community

Lord Jake
Lord Jake

Posted on

Werkzeug Import Error - Python

We got the below error all of a sudden from the already working Flask api code yesterday. Looks like there was some changes in dependent Werkzeug library.

Mentioning the version of Werkzeug in requirements.txt fixed the issue.

Werkzeug==2.3.7

References:
https://stackoverflow.com/questions/77213053/importerror-cannot-import-name-url-quote-from-werkzeug-urls

Top comments (0)