Python tkinter code refuses to run with vscode
I am brushing up on my python and as a a part of that I wanted to relearn tkinter. I am running into an issue where whenever I try to run the code through vscode it wont let me and it gives me a module not found error. I know that it is not an issue with my code since when I use a separate terminal it runs fine. I would deal with this but my terminal is constantly closing with no apparent reason. If I try to install tkinter on vscodes terminal it says that the module doesn’t exist
Problem with running python code on vscode
I run a tkinter code in vscode but it does not work but in idle It work properly.