Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have been using Visual Studio Code for a couple months now and it has been fine. When I want to run a Python file (or any other file), there is a little green triangle button in the top right corner that I can click on. Yesterday, that triangle turned white only for Python files (it is still green for Latex files) and when I click on it, most of the time nothing happens. When something does happen, it is often not right (I'm using Python to generate math worksheets in Latex. On the rare occasion that the run button responds to my click, the Latex worksheet is not generated correctly as it was before yesterday). Any ideas would be appreciated. Thank you!

What I have tried:

Restarted Visual Studio Code
Restarted my computer
Uninstalled and reinstalled Visual Studio Code
Posted
Comments
raddevus 27-Nov-21 13:31pm    
I'm wondering if Python has updated on your computer recently and now VS Code doesn't know how to get to the proper EXE?
Were you by chance, using Python 2.x before?
has Python 3.x been recently installed?
or has Python just been updated and now VS Code can't find it?
SAM FRYDMAN 29-Nov-21 19:07pm    
Hi raddevus. I have been using Python 3.10.0 the whole time. I also noticed today that I have the same problem when using another computer (my work computer).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900