Forums

pip install --user flask-sqlalchemy doesn't work

So I opened up a Python3.4 console and did pip install --user flask-sqlalchemy but it gives me 'Invalid Syntax' error. I put it exactly as I showed here

That's because the default pip is for Python 2.7. Use pip3.4 instead.

glenn, when I do it with pip3.4 it also says syntax error

Also: if I type just 'pip' it says: name 'pip' is not defined

Are you doing that in Python console? You need to do it from a Bash console.

OMG thnx so much!

:-)