user14157283
user14157283

Reputation: 9

after installing flask_mysqldb, python shell show the same error

Error as shown in the Python Shell:

Traceback (most recent call last):
      File "C:/Users/Saabia/Desktop/Puraa/pypy.py", line 2, in <module>
        from flask_mysqldb import MySQL
    ModuleNotFoundError: No module named 'flask_mysqldb'

Upvotes: 0

Views: 32

Answers (1)

Ananthakrishna
Ananthakrishna

Reputation: 517

You'll have to install it first.

pip install Flask-MySQLdb

and see if any errors occur

Upvotes: 2

Related Questions