Cannot find reference 'MigrateCommand' in '__init__.py'
原因:Flask-Migrate 3.1.0 版本过高导致;
解决方法:降低版本即可。
pip install -i https://pypi.douban.com/simple/ --upgrade Flask-Migrate==2.7.0
2024-02-14 13:52:28
Cannot find reference 'MigrateCommand' in '__init__.py'
pip install -i https://pypi.douban.com/simple/ --upgrade Flask-Migrate==2.7.0