From your screenshots it appears that you do not have a virtual environment in your Windows DOS shell. Use a Linux command line emulator such as git bash or WSL. Setup `.bash_profile` with the following … source /.venv/bin/activate. To create a venv `python3 -m venv .venv `. In addition, you need to tell Code which interpreter to use. This is found here Selecting python interpreter in VSCode