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
For anyone stumbling into this issue, here is the quick'n dirty way to solve this:
# Monkeypatch to fix import in flask-cachefromwerkzeug.utilsimportimport_stringimportwerkzeugwerkzeug.import_string=import_stringimportflask_cache# Obviously flask_cache must be imported after the monkeypatch
I am trying to run my app, getting an error
ImportError: cannot import name 'import_string' from 'werkzeug'
The error is from
I am running Python 3.7
pip freeze says
Werkzeug==1.0.1
Flask==1.1.1
Flask-Cache==0.13.1
redis==3.5.3
Anyone else run into this error? Anyone know of a fix?
The text was updated successfully, but these errors were encountered: