ImportError: cannot import name 'MigrateCommand' · Issue #406 ...
github.com › miguelgrinberg › Flask-MigrateMay 17, 2021 · Traceback (most recent call last): File "registry/manage.py", line 3, in <module> from flask_migrate import Migrate, MigrateCommand ImportError: cannot import name 'MigrateCommand'. This is how the command is used in code: app = Flask (__name__) ApplicationConfiguration.load () app.config ['SQLALCHEMY_DATABASE_URI'] = ApplicationConfiguration.get_db_uri () DatabaseService.init_db (app) migrate = Migrate (app, DatabaseService.db ()) manager = Manager (app) manager.add_command ('db', ...