cannot import name SQLALchemy
<p>I have installed flask-sqlalchemy via pip.But something wrong happened when I run the program,that is, "cannot import name SQLALchemy"At first,I thought the problem was the improper installation.However,I still couldn't solve the problem after several uninstall and installation.Then I change the first line into "from flask_sqlalchemy import sqlalchemy" ,it became "name SQLALchemy is not defined",Still didn't work...What should I do?<a href="http://i.stack.imgur.com/ZKhwv.jpg" rel="nofollow">enter image description here</a><a href="http://i.stack.imgur.com/Nc1TG.jpg" rel="nofollow">enter image description here</a></p>

<p>Try to run your Python interpreter and then use:</p>

<pre><code>&gt;&gt;&gt; from flask import Flask
&gt;&gt;&gt; from flask_sqlalchemy import SQLAlchemy
</code></pre>

<p>this should work. Your original code has a typo </p>

python flask-sqlalchemy