Flask-Web-App-Tutorial icon indicating copy to clipboard operation
Flask-Web-App-Tutorial copied to clipboard

Traceback issue

Open NnamOnye opened this issue 4 years ago • 3 comments

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'

NnamOnye avatar Aug 24 '21 19:08 NnamOnye

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

winbutlose avatar Aug 28 '21 02:08 winbutlose

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

NnamOnye avatar Sep 09 '21 20:09 NnamOnye

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

NnamOnye avatar Sep 09 '21 20:09 NnamOnye