Issue
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
Solution
You should use uppercase Flask
Answered By – lennertcl
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0