1

My requirements.txt file does not seem to be working

One of the lines in my file states:

Flask-Cache==0.12

However, I am getting the following error why I try to use Flask-Cache:

ImportError: No module named flask.ext.cache

Any ideas on how to fix this?

GangstaGraham
  • 8,865
  • 12
  • 42
  • 60

1 Answers1

1

What Flask version do you use? flask.ext.* redirect package prior to 0.8 is available only using the compatibility script.

Try importing flask_cache instead of flask.ext.cache

jcdenton
  • 361
  • 2
  • 10