Franc Zalez
Franc Zalez

Reputation: 1

ImportError: No module named flask using MAC VSCODE

ScreenGrab of error when trying to import db I created

Upvotes: 0

Views: 251

Answers (1)

user11594421
user11594421

Reputation:

You either need to install Flask from pip, or something similar, or Python is not able to find the location of Flask if it is, in fact, installed.

At your Python prompt, try this to see where it is looking for libraries:

>> import sys
>> print (sys.path)

Upvotes: 1

Related Questions