window10, pip version 21.3.1
My paths of pip and module are not matching, which likely resulted in reportMissingImports warning in Visual Studio.
pip:
C:\Users\NG\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pip (python 3.9)
flask: I don't know why they are in lowercase, which likely caused the issue
c:\users\ng\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages
I have referred to the answer PIP 10.0.1 - Warning "Consider adding this directory to PATH or..." and moved up paths in environment variables. Yet the paths still mismatch.
I would be grateful if someone could help me out. Thank you.