ModuleNotFoundError: No module named ‘flask._compat’ Flask版本:3.0.0 解决办法 将from ._compat import text_type改为from flask_script._compat import text_type