capngp
capngp

Reputation: 61

Invoking Python IDLE on Linux

I am trying to set up a Python development environment. I have Python 2.7.3 running on Linux Mint 14. I downloaded IDLE and installed it. It clean installs and Python runs just fine.

So how do I invoke IDLE? There isn't any IDLE in my path: which idle returns nothing. man idle returns nothing pertaining to an editor. Nothing in /usr/lib or /usr/local/lib. Calling idle() inside the Python interpreter doesn't work. Invoking python brings up a shell, not IDLE. No menu entry for IDLE in Linux. No import library named IDLE that Python can find. Three O'Reilly books consulted and not a word about invoking IDLE in Linux. YouTube videos of Python favor Windows, not Linux. Web searches have so far been unsuccessful.

Upvotes: 6

Views: 27688

Answers (1)

Ned Deily
Ned Deily

Reputation: 85105

I'm not familiar with Mint myself, but since it claims to be Debian-based, try installing the idle package:

sudo apt-get install idle

That should pull in all the appropriate packages for the installed version of Python. Then you should just be able to start IDLE with:

idle

in a terminal window.

Upvotes: 14

Related Questions