Python/Tkinter works in Visual Studio but not in console

I’ve got a python 3.7 program with heavy use of Tkinter. Worked perfectly in windows 10, then I haven’t been able to sort out the problem since upgrading to windows 11. Within the visual studio community enviroment the program runs fine with no errors. If I open a plane command prompt from windows and navigate to my main program, it will seem to open without error and load a blank tkinter window with the appropriate name in the title bar. I get no errors, and can’t do anything else except close the program with x or cntrl+c. Any ideas? Python 3.7 is the only version installed on this machine via the visual studio/shared location

Hello,

Any reason why you haven’t upgraded to the latest and greatest? Per this:

Version 3.7.0 is currently not one of the active Python releases.

Since then, a lot of new versions have been released with many bug fixes. The most recent version is 3.13.
Please try upgrading to the latest version, if it still does not work, we can proceed from there.