Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ImportError: cannot import name 'url_quote' from 'werkzeug.urls'" #57

Open
tadwhitaker opened this issue Dec 26, 2023 · 0 comments
Open

Comments

@tadwhitaker
Copy link

Following the tutorial, I encountered the following error when trying to run '(env) $ flask run -p 5001'

  • "ImportError: cannot import name 'url_quote' from 'werkzeug.urls'"

I resolved this by specifying a specific version of Werkzeug based on this Stackoverflow discussion about a new update and that not being referenced correctly by Flask. I added 'Werkzeug==2.2.2' to your requirements.txt and that worked just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant