In my system, I installed the flask_mysqldb
, however when I run the app.py
file it shows an error like nomodule named flask_mysqldb
.
I tried another way of downloading mysqlclient
and installed it, but the same error occurs.
Error
The error is line 2, in <module>
from flask_mysqldb import MySQL
ModuleNotFoundError: No module named 'flask_mysqldb'
I would appreciate a solution, thanks.