PyCharm doesn't find Flask-Babel package on a remote Server

Hi.

I'm using PyCharm 2.7.3(129.782) and Flask with Flask-Babel extension. But PyCharm didn't find Flask-Babel on my virtual machine while making skeleton. However a project on my host machine found Flask-Babel correctly.

from flask.ext.babel import format_datetime, gettext as _
from flaskext.babel import format_datetime, gettext as _
prettyPrint();

Both of import statement doesn't work.

And flaskext is not on External Libraries. I think it is because Flask-Babel doesn't have __init__.py, so it doesn't be considered as package. Is there any workaround or solution?

Please sign in to leave a comment.