techwithtim / Flask-Web-App-Tutorial

Code for the note storing flask web app made during a YouTube video.
926 stars 1.02k forks source link

Traceback issue #23

Open NnamOnye opened 3 years ago

NnamOnye commented 3 years ago

im having issues its says "no module named 'flask_SQLAlchemy'. " when I run the code, If anyone can offer assistance It would be greatly appreciated!

this is the full error message down below

Traceback (most recent call last): File "/Users/michaelonyejekwe/PycharmProjects/Web Login/main.py", line 1, in from website import create_app File "/Users/michaelonyejekwe/PycharmProjects/Web Login/website/init.py", line 2, in from flask_SQLAlchemy import SQLAlchemy ModuleNotFoundError: No module named 'flask_SQLAlchemy'

winbutlose commented 3 years ago

On the command line you can try pip list and make sure you see Flask-SQLAlchemy. If it's not there, it means the SQLAlchemy package we need to import isn't installed. Run pip install Flask-SQLAlchemy to install it

NnamOnye commented 3 years ago

its already there but for some reason its not picking it up im using pycharm and I have SQLAlchemy 1.3.6 installed

NnamOnye commented 3 years ago

On the command line you can try pip list and make sure you see Flask-SQLAlchemy. If it's not there, it means the SQLAlchemy package we need to import isn't installed. Run pip install Flask-SQLAlchemy to install it

its already there but for some reason its not picking it up im using pycharm and I have SQLAlchemy 1.3.6 installed