top of page

How To Run Python 3.9 In Visual Studio Code Terminal (Windows 10) 2021

  • Writer: socomplete8
    socomplete8
  • Oct 26, 2021
  • 1 min read

I had some issues running python in visual studio code, and I had to figure it out. Here are the steps that helped:


1. Look on the bottom right-hand corner of Visual Studio Code(VSC) and select cmd from the list.


From this menu, select Command Prompt.


2. Go to the file path of the version of python you want to run, i.e. (C:\Programs\Python\Python39\python.exe).


Double click the whitespace next to the python version, in this example, Python 3.9, then copy the URL.




3. Go back to the VSC and paste this URL into the cmd.


After you paste the URL and press enter, you should see three right-pointing arrows. Three right-pointing arrows mean you can begin to write code in your python version choice.


 
 
 

Comments


bottom of page