[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Python on Mac OS X

From: Olivier Baur
Subject: Re: [Bug-gnubg] Python on Mac OS X
Date: Fri, 13 Feb 2004 14:03:29 +0100

Le 13 févr. 04, à 09:56, Joern Thyssen a écrit :

The command used for starting IDLE changes between each version of
python, so "import idle.PyShell; idle.PyShell.main()" may not work with
your version.

If you've installed IDLE you'll have a script somewhere that starts
IDLE. Can you find that file and post the contents?

What is IDLE? What is it supposed to do?
I've found this file :

("idle" in lowercase, not "IDLE" in uppercase)

It contains:


from idlelib.PyShell import main

When I run it, I get the following output:

Traceback (most recent call last):
  File "bin/idle", line 3, in ?
    from idlelib.PyShell import main
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/idlelib/PyShell.py", line 19, in ?
    from Tkinter import *
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/lib-tk/Tkinter.py", line 38, in ? import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

What does it mean? What is missing? Does it mean Python was not compiled for Pyhton? Where should this "_tkinter" module be?
I know I've got Tcl/Tk installed.

Any help welcome :-)

-- Olivier

reply via email to

[Prev in Thread] Current Thread [Next in Thread]