First of all, run the following command to install Flask-Migrate:
$ pip3 install Flask-Migrate
This will also install Alembic, among a number of other dependencies.