故障原因是flask_script/__init__.py文件15行from flask._compat import text_type书写有误。

修改为:

# site-packages/flask_script/__init__.py
from flask_script._compat import text_type

故障解决。