Running IDLE other than root?

Ryan Booz ryanbooz at alumni.psu.edu
Mon Jul 31 23:19:07 EDT 2000


**** Post for FREE via your newsreader at post.usenet.com ****

Hey all,

I'm trying to do a quick learn of Python this summer to begin teaching
it at school middle of the year.  Compiled it the other night and have
begun working through a book, "The Quick Python Book".  Decided to try
and use IDLE and when logged in as regular user, it give the message
I've seen others getting:

Traceback (innermost last):
  File "/usr/lib/python1.5/site-packages/idle.py", line 2, in ?
    import PyShell
  File "/usr/lib/python1.5/site-packages/PyShell.py", line 12, in ?
    from Tkinter import *
  File "/usr/local/lib/python1.5/lib-tk/Tkinter.py", line 8, in ?
    import _tkinter # If this fails your Python may not be configured
for Tk
ImportError: No module named _tkinter

I understand that everyone (including the book) said that this is a Tk
problem.  Not being built.  Thing is, when I log in as root (not su in),
IDLE works fine.  Importing of _tkinter works fine.  Any thoughts?  I
would like to get this running.  Of course I would like to try the Emacs
helper also.

thanks for the help,
Ryan Booz
Tech Coordinator
Belleville Mennonite School


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
                      http://www.usenet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Python-list mailing list