It looks like you have multiple python versions installed on your machine, and your computer's default python version should be python2
(perhaps related to system environment variables). You can check the version with py -V
.
It is recommended that you use a virtual environment and keep only one python version in each virtual environment. When you select an interpreter ( Ctrl + Shift + P --> Python: Select Interpreter), the new terminal ( Ctrl + Shift + ` ) will automatically activate the virtual environment.
Virtual environments are very useful for you to use a specific version of the interpreter and a specific package.
To prevent such clutter, developers often create a virtual environment for a project. A virtual environment is a folder that contains a copy (or symlink) of a specific interpreter. When you install into a virtual environment, any packages you install are installed only in that subfolder. When you then run a Python program within that environment, you know that it's running against only those specific packages.
How to create a virtual environment:
Create Virtual Environment
python -m venv <name_of_envirnment>
Activate Virtual Environment
<name_of_envirnment>\scripts\activate
official documentation: Create a virtual environment