故障原因是flask_script/__init__.py
文件15行from flask._compat import text_type
书写有误。
修改为:
# site-packages/flask_script/__init__.py
from flask_script._compat import text_type
故障解决。
故障原因是flask_script/__init__.py
文件15行from flask._compat import text_type
书写有误。
修改为:
# site-packages/flask_script/__init__.py
from flask_script._compat import text_type
故障解决。