Invoking Python IDLE on Linux
Asked Answered
G

1

6

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.

Gere answered 31/12, 2012 at 5:27 Comment(6)
Welcome to SO! Please keep questions here limited to one topic (IDLE or ERIC). Also, keep in mind that not everyone here is a gentleman. You also don't mention which Linux distribution you are usingMcafee
Ned, Single question noted. Perhaps you could suggest an appropriate salutation. Line 2: Mint 14. Thanks, PeteGere
After getting acclimated here, you'll notice that a salutation is neither needed nor preferred.Mcafee
A text editor, an interpreter, and thou. ;)Bimonthly
How did you installed it?Saundra
Similar (duplicate?): Start IDLE with Python 3 on Linux (Python 2.7 installed alongside). But isn't there an older canonical question?Bankston
M
14

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.

Mcafee answered 31/12, 2012 at 5:47 Comment(2)
and idle3 for python3Daytoday
@fzzylogic: Not always. It depends.Bankston

© 2022 - 2024 — McMap. All rights reserved.