Hi, I already checked similar posts in this forum, but the problem still persists. I'm trying to host my very first flask app here, but after uploading I'm getting the following error:
Error running WSGI application
ModuleNotFoundError: No module named 'flask_sqlalchemy'
File "/var/www/[name]wsgi.py", line 16, in <module>
from app import app as application # noqa
File "path/to/mysite/app.py", line 2, in <module>
from flask_sqlalchemy import SQLAlchemy
However, when I install my requirements.txt with:
pip3.10 install -r requirements.txt --user
I get the following:
Requirement already satisfied: flask_sqlalchemy in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (2.5.1)
I'm very confused why flask_sqlalchemy is not found. Can you please help me?
Any help is much appreciated. Thanks