H2ONaCl
H2ONaCl

Reputation: 11269

what is missing that prevents my IDLE from working?

Installed Ubuntu 10.10 and Python 2.5.5. IDLE did not start from the terminal so I went into the Python interpreter and did "import _tkinter". The package was not found. After searching a bit, I found that Ubuntu/debian might not include _tkinter so I proceeded to "sudo apt-get install python-tk" as per my searches.

Still the interpreter cannot find _tkinter. What next?

Upvotes: 0

Views: 275

Answers (3)

H2ONaCl
H2ONaCl

Reputation: 11269

The problem has been solved in another thread. The solution is to install tk-dev before installing Python 2.5.5 (on Ubuntu 10.10 which came with Python 2.6).

TK_LIBRARY and TCL_LIBRARY environment variables on Ubuntu

Upvotes: 0

Rafe Kettler
Rafe Kettler

Reputation: 76955

There's an IDLE package in the Ubuntu software center that you can install. Install that and IDLE will work.

UPDATE

It is indeed in the Ubuntu software center on Ubuntu 10.10. Evidence: alt text

Upvotes: 1

Drew D.
Drew D.

Reputation: 411

Use Synaptic Package Manager (System > Administration > Synaptic Package Manager). Search for "idle".

Upvotes: 1

Related Questions