Rename the filename flask.py to other name; It prevents import of the third-party flask module because your file is searched first.
flask.py
flask
Also make sure there's no flask.pyc file remaining.
flask.pyc