尽管安装了 babel,但我对 Flask 和 Babel 不起作用感到很开心但很恼火。
pip install babel
pip install Flask-Babel
Traceback (most recent call last):
File "run.py", line 8, in <module>
from app import app
File "/home/ubuntu/workspace//dashboard/app/__init__.py", line 3, in <module>
from flaskext.babel import Babel
ImportError: No module named babel