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


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 _

Both of import statement doesn't work.

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

Please sign in to leave a comment.