Python 始めたばかり、import flask でエラー

環境インストールがどこか悪いと思うが、

import flask 

を実行したら、
ModuleNotFoundError: No module named 'markupsafe._compat'
と怒られた。
markupsafeをアンインストールして、入れ直さないとならない。

pip uninstall markupsafe

以下から、Python バージョン、CPU に沿って whl ファイルをダウンロード
https://www.lfd.uci.edu/~gohlke/pythonlibs/#markupsafe

MarkupSafe-1.0-cp36-cp36m-win32.whl
MarkupSafe-1.0-cp36-cp36m-win_amd64.whl

Python36-32 なので今回は、MarkupSafe-1.0-cp36-cp36m-win32.whl をインストール指定で

pip install whlのPATH

Flask をインポートした py を実行すると、無事

 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 325-162-572
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [07/Dec/2017 12:31:30] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [07/Dec/2017 12:31:30] "GET /favicon.ico HTTP/1.1" 404 -