Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95055

Re: Installation Successful, but pythonw and idle doesn't function

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Installation Successful, but pythonw and idle doesn't function
Date 2015-08-05 21:31 -0400
References <mailman.1245.1438807197.3674.python-list@python.org> <2089419.rtOe05Tiyo@PointedEars.de>
Newsgroups comp.lang.python
Message-ID <mailman.1259.1438824676.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 8/5/2015 6:09 PM, Thomas 'PointedEars' Lahn wrote:
> Rick Smith wrote:

>> I also attempted to run "idle", with the following results:
>>
>>     C:
> \Users\judy\AppData\Local\Programs\Python\Python35-32\Lib\idlelib>idle.py
>>     ** IDLE can't import Tkinter.
>>     Your Python may not be configured for Tk. **

Rick, can you run python?  What happens with 'import tkinter'?

> I do not know IDLE well (if at all after all this time).  Make sure that you
> have installed the prerequisites.

A Windows install should install tkinter and Idle together.

 > But it strikes me as odd to run a GUI-
> based application from the Windows command shell.

This is the right thing to do when there is a problem, as some error 
messages get delivered to the console.  The prime example is the above. 
  If Idle cannot import tkinter, it cannot use a tkinter message box.

 > Is there not an icon that you can use instead to run it?

In the start menu, but that error message would not appear.


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Installation Successful, but pythonw and idle doesn't function "Rick Smith" <python@activemail.us> - 2015-08-05 16:12 +0000
  Re: Installation Successful, but pythonw and idle doesn't function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 00:09 +0200
    Re: Installation Successful, but pythonw and idle doesn't function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 00:14 +0200
    Re: Installation Successful, but pythonw and idle doesn't function Terry Reedy <tjreedy@udel.edu> - 2015-08-05 21:31 -0400
      Re: Installation Successful, but pythonw and idle doesn't function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 08:56 +0200

csiph-web