You are not logged in.
Pages: 1
The IDLE refuses to start, probably due to some environment deficiency. On one installation of Arch the problem somehow solved itself, leaving me none the wiser . On another it has to be addressed. Any suggestions?
Offline
Any error messages if you try starting from the terminal?
Offline
File "/usr/bin/idle", line 3, in <module>
from idlelib.PyShell import main
File "/usr/lib/python2.5/idlelib/PyShell.py", line 14, in <module>
import macosxSupport
File "/usr/lib/python2.5/idlelib/macosxSupport.py", line 6, in <module>
import Tkinter
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 38, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.5.so: cannot open shared object file: No such file or directory
Offline
You need to update/install tk.
Offline
After installing tk:
No protocol specified
Traceback (most recent call last):
File "/usr/bin/idle", line 5, in <module>
main()
File "/usr/lib/python2.5/idlelib/PyShell.py", line 1390, in main
root = Tk(className="Idle")
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1636, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0.0"
Offline
Are you running these programs as root? (I hope not).
R
Offline
I am . Shame on me.
Offline
OK, then.
Running the program as a regular user should take care of the problem.
R
Offline
Pages: 1