Skip to content
Advertisement

ModuleNotFoundError: No module named ‘flask-mysqldb’

I am using Windows10 Home,I have Python3.9.1 and Visual Studio Code.These are mu code:

JavaScript

and I have about.html and index.html file.I know they are correct because I was use they another app.

When I run this code I take this error.I am very new about the software.So I don’t know what should I do

Advertisement

Answer

You need to install all the modules that are used within your project which in your case is flask_mysqldb. Install it with the following cmd:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement