title: Flask db migrate stops working on a new ec2 machine
body: <p>So this is a bit weird.  I took an image of my dev server (ec2), spooled it up onto a new machine, and all of a sudden "flask db migrate" stopped working for me.  It now returns this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/usr/local/bin/flask", line 7, in &lt;module&gt;
      from flask.cli import main
  ImportError: No module named cli
  </code></pre>
  
  <p>I'm not particularly sure how to go about debugging this.  A little guidance would be deeply appreciated.</p>