cannot import name 'MigrateCommand' from 'flask_migrate' #418
-
File "manage.py", line 4, in |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Flask-Script is not supported anymore. Switch to the Flask CLI or downgrade Flask-Migrate to version 2.7.0, which is the last to support Flask-Script. |
Beta Was this translation helpful? Give feedback.
-
Traceback (most recent call last): Use pip install flask-migrate==2.1.1 to solve |
Beta Was this translation helpful? Give feedback.
-
it should work fine after installing the 2.6.0 |
Beta Was this translation helpful? Give feedback.
-
you need to downgrade flask-migrate to a lower version between 2.1.1 to 2.7.0 to solve the Import error. pip install flask-migrate== |
Beta Was this translation helpful? Give feedback.
Flask-Script is not supported anymore. Switch to the Flask CLI or downgrade Flask-Migrate to version 2.7.0, which is the last to support Flask-Script.