[Idle-dev] Configuring IDLE for Python 3.2.2 on Ubuntu

Weeble clockworksaint at gmail.com
Tue Oct 18 08:41:55 CEST 2011

How did you install Python and IDLE? On my 32-bit Ubuntu 11.04 VM, idle3
works for me, although it looks like I only have Python 3.2, possibly not
3.2.2. Some details you might compare to your own setup:

/usr/bin/idle3 is an executable script provided by the "idle3" package.

/usr/bin/idle3 specifies /usr/bin/python3 as its interpreter.

/usr/bin/python3 is a symlink to python3.2.

The "idle3" package requires the "python3" and "python3-tk" packages. If you
installed it with "sudo apt-get install idle3", they will have been
installed automatically.

The Python 3 packages I have are "python3", "python3-minimal", "python3-tk",
"python3.2", "python3.2-minimal", and "idle3".

As far as I can tell, IDLE uses sys.executable to determine the Python to
launch for its shell, and this will always be the Python that IDLE itself is
running in.

On Sat, Oct 15, 2011 at 12:23 AM, MusicKev <kevin at kevinturnercareer.com>
> Ned Deily wrote:
>> In article <32642225.post at talk.nabble.com>,
>>  MusicKev <kevin at kevinturnercareer.com> wrote:
>>> I have Python 2.7 and python 3.2.2 installed on my system. There is a
>>> version
>>> of IDLE installed for each version of Python but they all open Python
>>> 2.7.
>>> How can I configure IDLE to open the Python 3.2.2 version?
>> Try typing 'idle3' instead of 'idle'.
>> --
>>  Ned Deily,
>>  nad at acm.org
>> _______________________________________________
>> IDLE-dev mailing list
>> IDLE-dev at python.org
>> http://mail.python.org/mailman/listinfo/idle-dev
> Hi Ned,
> Iidle3 from the terminal does not work. I get an error "IDLE can't import
> Tkinter. Your Python may not be configured for Tk."   Same error if I just
> type idle.
> I can launch Python3 from the terminal.
> I can launch IDLE 2.7.1 from the GUI. I am new to Linux and am a bit lost
> trying to troubleshoot. It seems like an install problem or a
> problem but I can't figure it out.
> I have Python/IDLE3 working on Mac and Windows but I need it on Linux for
> class project.
> Thanks.
> --
> View this message in context:
> Sent from the Python - idle-dev mailing list archive at Nabble.com.
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/idle-dev/attachments/20111018/b4a09f01/attachment-0001.html>

More information about the IDLE-dev mailing list