Skip to content

Tag: visual-studio-code

Unresolved import in VSCode for Python

Trying to run a flask hello world program The Error: I have done Ctrl-Shift-P to select a Python interpreter but that did not seem to work. The pip list seems to show flask so I am not sure why my import is not working. These are the settings from pyenv.cfg Answer The reason is that the python environment use…

Unresolved imports in VSCode Python

While programming in VSCode, Python I imported a module named Selenium. However, VS Code is Showing me an error, saying unresolved import selenium. I had installed selenium yesterday only using the pip command. Please do help me out Answer It is recommended that you use the command “python –versio…