Python Forum
Can not get tkinter to work in Windows 10 via python 3.9
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can not get tkinter to work in Windows 10 via python 3.9
#1
I am using the Windows PowerShell s a means of using the Python 3.9 interpreter.
I wrote a simple test program in the Atom editor
The program imports the library tkinter. When I run it using the windows power shell it come back with
the power shell prompt no error messages are produced and it basically does not present a canvas on the screen.
Yet if I use the python interpreter via the Power shell command line, that is first I call up the python interpreter
and the enter each instruction line by line I get a canvas window.
Is it my atom, editor? I know python via Linux seems to work very well but under Windows things do not work so easily,
Reply
#2
What do you type to run the program?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Photo Windows 10 PowerShell doesn't work Amy 3 3,928 Apr-27-2021, 01:33 PM
Last Post: jefsummers
  How to work with multiple files and tkinter? philipbergwerf 3 4,617 Aug-31-2020, 12:03 PM
Last Post: ndc85430
  Update setup.py to work on Windows #3 Toolman 2 2,399 May-19-2020, 02:21 PM
Last Post: Toolman
  How can I work this codes in Windows? herace 4 3,372 Jul-07-2019, 06:16 PM
Last Post: herace
  Code works in IDLE, appears to work in CMD, but won't produce files in CMD/Windows ChrisPy33 3 3,249 Jun-12-2019, 05:56 AM
Last Post: ChrisPy33
  Is there any way to convert a python script (with Tkinter module), to a .exe (Windows moste 3 4,013 May-12-2019, 12:02 PM
Last Post: snippsat
  Python files made on linux don't work on windows sylas 2 3,267 Oct-10-2018, 05:34 AM
Last Post: sylas
  Discord Bot doesnt work when opened with windows himdipie 0 2,233 Apr-15-2018, 04:48 PM
Last Post: himdipie
  Multiple and dynamic windows confusion in Tkinter bertibott 1 3,868 Mar-15-2017, 07:51 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020