You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a pip upgrade I am getting (and have been getting in previous upgrades) the following error:
ImportError: cannot import name 'url_decode' from 'werkzeug.urls'
The reason this is not working is that Flask-Login 0.6.2 is not compattible with Werkzeug 3.x
Previously I would downgrade Werkzeug belog 3.0.0 but now upgrading Flask-Login to 0.6.3 or above works too.
To fix this Flask-Login needs to be upgraded to 0.6.3 as from then Werkzeug 3.x if supported
pip install git+https://github.com/maxcountryman/flask-login.git helped me but it is version 0.7-dev so maybe you can try first pip install Flask-Login==0.6.3
After a pip upgrade I am getting (and have been getting in previous upgrades) the following error:
ImportError: cannot import name 'url_decode' from 'werkzeug.urls'
The reason this is not working is that Flask-Login 0.6.2 is not compattible with Werkzeug 3.x
Previously I would downgrade Werkzeug belog 3.0.0 but now upgrading Flask-Login to 0.6.3 or above works too.
To fix this Flask-Login needs to be upgraded to 0.6.3 as from then Werkzeug 3.x if supported
pip install git+https://github.com/maxcountryman/flask-login.git
helped me but it is version 0.7-dev so maybe you can try firstpip install Flask-Login==0.6.3
source: https://stackoverflow.com/questions/77215107/importerror-cannot-import-name-url-decode-from-werkzeug-urls
The text was updated successfully, but these errors were encountered: