python-babel / flask-babel

i18n and l10n support for Flask based on Babel and pytz
https://python-babel.github.io/flask-babel/
Other
444 stars 159 forks source link

ImportError: cannot import name 'dates' #124

Closed semerda closed 7 years ago

semerda commented 7 years ago

Hi, I'm running Flask in docker and keep seeing this error when I try to spin up the container. Can anyone help point me in the right direction?

web_1 | Traceback (most recent call last): web_1 | File "./main.py", line 43, in web_1 | from flask_babel import Babel, format_datetime web_1 | File "/usr/local/lib/python3.6/site-packages/flask_babel/init.py", line 18, in web_1 | from babel import dates, numbers, support, Locale

I also verified that /usr/local/lib/python3.6/site-packages/ has both babel and flask_babel directories.

Cheers, Ernest

semerda commented 7 years ago

Sorry user error ;-)