when i ever i try to follow the guide and try to do the steps , I encounter an error as follows:
Traceback (most recent call last):
File "./app.py", line 1, in
from flask import Flask, render_template
File "/usr/local/lib/python3.8/site-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 28, in
from . import cli
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 18, in
from .helpers import get_debug_flag
File "/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 16, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.8/site-packages/werkzeug/urls.py)
when i searched online it suggested that there is a version incompatibility between the werkzeug and the flask library I am new to this so I dont know what to do
Hi
when i ever i try to follow the guide and try to do the steps , I encounter an error as follows:
Traceback (most recent call last): File "./app.py", line 1, in
from flask import Flask, render_template
File "/usr/local/lib/python3.8/site-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 28, in
from . import cli
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 18, in
from .helpers import get_debug_flag
File "/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 16, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.8/site-packages/werkzeug/urls.py)
when i searched online it suggested that there is a version incompatibility between the werkzeug and the flask library I am new to this so I dont know what to do