You are not logged in.

#1 2009-01-08 18:57:15

herRrscher
Member
Registered: 2008-12-29
Posts: 2

Python IDLE don't start

Hello

I've learning Python this time and I wants to try out how good the Python IDLE is. But, if I wants to start it with the command "idle", Python IDLE isn't starting but a text appears in the terminal:

Traceback (most recent call last):
  File "/usr/bin/idle", line 3, in <module>
    from idlelib.PyShell import main
  File "/usr/lib/python2.6/idlelib/PyShell.py", line 14, in <module>
    import macosxSupport
  File "/usr/lib/python2.6/idlelib/macosxSupport.py", line 6, in <module>
    import Tkinter
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 39, 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

Who can help me?


PS: Sorry for my bad English I'm German.

Offline

#2 2009-01-08 19:36:14

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Python IDLE don't start

You need to install tk.

Offline

#3 2009-01-08 19:41:11

herRrscher
Member
Registered: 2008-12-29
Posts: 2

Re: Python IDLE don't start

It works. Thanks!

Offline

Board footer

Powered by FluxBB