Im trying to import flask and I already have it installed by doing pip install flask
but im getting the error, Traceback (most recent call last): File "c:\Users\colee\Downloads\Ultimate-Bot (3)\keep_alive.py", line 1, in <module> from flask import Flask ModuleNotFoundError: No module named 'flask'
Also when I hover over the error, it says (module) flask Import "flask" could not be resolved from sourcePylancereportMissingModuleSource
I looked in my site packages for Python39 and flask is there. How can I fix this? Thanks
Asked
Active
Viewed 459 times
-1

ColeTMK
- 96
- 1
- 10
-
this may help: https://stackoverflow.com/questions/31252791/flask-importerror-no-module-named-flask – Nikolay Patarov May 22 '21 at 18:45
-
3Does this answer your question? [Flask ImportError: No Module Named Flask](https://stackoverflow.com/questions/31252791/flask-importerror-no-module-named-flask) – Axisnix May 22 '21 at 20:27