故障原因是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
故障解决。
本文为原创文章,转载请注明出处。
原文链接:http://www.quartlog.com/post/解决no-module-named-flask-_compat
评论(0)
还没有评论,来抢沙发吧~