PyCharm is unable to resolve flask extensions

I have added Flask and Flask-Script to PyCharm virtual environment. The app runs but PyCharm gives me various errors:
Unresolved reference "Manager" (from  flask.ext.script import Manager)
Cannot find reference "script" in "__init__.py" (from  flask.ext.script import Manager)
No module named "script" (command = flask.ext.script.Command(app)

As a result code completion doesn't work.

So if I directly import the modules like
import flask_script
code comletion works but I am not sure if that's an intended use!

How can I fix that?

Please sign in to leave a comment.