When I did not install the module "flask" in the Python environment currently used in VSCode:
Please use the command "pip --version
" to check the source of the module installation tool "pip", the module is installed at this location:
Then, we can use the command "pip show flask
" to check the installation location of the module "flask": (It checks whether the installation location of the module is consistent with the Python environment displayed in the lower left corner of VSCode.)
If the "reportMissingModuleSource" message is still displayed here, please reload VS Code.
(F1
, Developer: Reload Window
)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…