Skip to content

ImportError: cannot import name 'import_string' from 'werkzeug' #205

Description

@aaronjolson

I am trying to run my app, getting an error

ImportError: cannot import name 'import_string' from 'werkzeug'

The error is from

venv/lib/python3.7/site-packages/flask_cache/__init__.py", line 24, in <module>
    from werkzeug import import_string

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions